Re: missing from sudoers file after update

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

 



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
/usr/sbin/reboot -f

Btw, you do have a root account, but it probably doesn't have a
password.  "sudo -i" will make you root.

I see, but it requires the wheel access that you were mentioning, I guess.

Yes. You mentioned that you didn't have a root account and I was clarifying that you do, it just can't be logged into directly.
_______________________________________________
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