Re: missing from sudoers file after update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 17 Mar 2020 17:11:46 -0500 Ranjan Maitra <maitra@xxxxxxxxx> wrote:

> Hi,
>
> I did this.
>
> On Tue, 17 Mar 2020 14:53:26 -0700 Samuel Sieb <samuel@xxxxxxxx> wrote:
>
> > On 3/17/20 2:34 PM, Ranjan Maitra wrote:
> > > On Tue, 17 Mar 2020 13:54:59 -0700 Samuel Sieb <samuel@xxxxxxxx> wrote:
> > >> Somehow you got dropped from the wheel group.  Did you uncheck your
> > >> administrator access in the user control panel?  In any case, if you
> > >> don't have another admin user, you will need to use a live or rescue
> > >> boot to add yourself back in to the wheel group.
> > >
> > > No, I did not uncheck anything (because nothing every came up for me to uncheck). I can get into the rescue. What do I do after that?
> >
> > Since I'm not sure which rescue setup you have, I'll give you the easier
> > method.  At the grub menu edit the boot entry and add "init=/bin/bash"
> > to the end of the linux line.  This will boot you right to a root bash
> > prompt.  Then run the following two commands, replace "username" with
> > your real username:
> > /usr/sbin/usermod -a -G wheel username
>
> However, I get a bunch of selinux context stuff (in a line), at the end of which it says "res=failed".  This laptop is one of those 4K resolution ones and so has very small print on the console and so I could not take a picture that is clear enough.
>

Actually, I missed a line earlier. I get:

usermod: cannot lock /etc/passwd: try again later

and then gives this selinux stuff under audit:

> > /usr/sbin/reboot -f
>
> and it does not add wheel access.
>
> Is it possible that I may have accidentally deleted a package which  has this?
>
> Ranjan
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx


--
Important Notice: This mailbox is ignored: e-mails are set to be deleted on receipt. Please respond to the mailing list if appropriate. For those needing to send personal or professional e-mail, please use appropriate addresses.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux