LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-29-2011, 10:01 AM   #1
Mark7
Member
 
Registered: Feb 2006
Location: Leicester
Distribution: xUbuntu 20.04 currently
Posts: 274

Rep: Reputation: 44
How Do I Add Myself To The Sudoers Group?


I realise this has been asked before. But please just tell me
 
Old 04-29-2011, 10:10 AM   #2
sibe
Member
 
Registered: Apr 2011
Location: Jakarta, Indonesia
Distribution: Fedora, CentOS
Posts: 122

Rep: Reputation: 21
--

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
 
Old 04-29-2011, 12:20 PM   #3
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
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?
 
Old 04-29-2011, 02:17 PM   #4
Mark7
Member
 
Registered: Feb 2006
Location: Leicester
Distribution: xUbuntu 20.04 currently
Posts: 274

Original Poster
Rep: Reputation: 44
Is it possible to change the user from myself to root without having to log out?
 
Old 04-29-2011, 02:20 PM   #5
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Yes.


Code:
:su - root
password: xxxx
#whoami
root
#
 
Old 04-29-2011, 05:32 PM   #6
Mark7
Member
 
Registered: Feb 2006
Location: Leicester
Distribution: xUbuntu 20.04 currently
Posts: 274

Original Poster
Rep: Reputation: 44
What's Red Hat/Fedora's equivalent of gksu?
 
Old 04-29-2011, 05:38 PM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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.
 
Old 04-29-2011, 05:54 PM   #8
Mark7
Member
 
Registered: Feb 2006
Location: Leicester
Distribution: xUbuntu 20.04 currently
Posts: 274

Original Poster
Rep: Reputation: 44
Ah! Thanks

I installed the KDE spin. No wonder gksu wasn't working
 
Old 04-29-2011, 06:07 PM   #9
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by Mark7 View Post
Ah! Thanks

I installed the KDE spin. No wonder gksu wasn't working
Use "kdesu" in KDE.
 
  


Reply

Tags
group, su, wheel



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Is it necessary to add root to sudoers? Mr. Alex Linux - Newbie 5 01-08-2011 12:50 PM
How do I add myself to the sudoers list? Cultist Debian 6 07-26-2010 06:31 PM
Entry into group files (sudoers) Lazairus Linux - General 3 08-28-2008 08:05 AM
group: add complete group into other group max_mad SUSE / openSUSE 1 04-12-2006 01:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration