LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   How Do I Add Myself To The Sudoers Group? (https://www.linuxquestions.org/questions/fedora-35/how-do-i-add-myself-to-the-sudoers-group-877843/)

Mark7 04-29-2011 10:01 AM

How Do I Add Myself To The Sudoers Group?
 
I realise this has been asked before. But please just tell me :(

sibe 04-29-2011 10:10 AM

--

Maybe you mean wheel group.
Just add your name to group wheel then edit /etc/sudoers with command visudo and uncomment this line :

%wheel ALL=(ALL) ALL

MTK358 04-29-2011 12:20 PM

I think that the OP might not know what he really wants.

Maybe he wants to add himself to ther sudoers file, and thought that it was some kind of group?

Mark7 04-29-2011 02:17 PM

Is it possible to change the user from myself to root without having to log out?

szboardstretcher 04-29-2011 02:20 PM

Yes.


Code:

:su - root
password: xxxx
#whoami
root
#


Mark7 04-29-2011 05:32 PM

What's Red Hat/Fedora's equivalent of gksu?

TobiSGD 04-29-2011 05:38 PM

gksu is part of the Gnome DE. It is not dependent of distribution. If you use Gnome it is always gksu, for KDE it is kdesu.

Mark7 04-29-2011 05:54 PM

Ah! Thanks :D

I installed the KDE spin. No wonder gksu wasn't working

MTK358 04-29-2011 06:07 PM

Quote:

Originally Posted by Mark7 (Post 4341309)
Ah! Thanks :D

I installed the KDE spin. No wonder gksu wasn't working

Use "kdesu" in KDE.


All times are GMT -5. The time now is 07:43 PM.