LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-16-2014, 04:09 PM   #1
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 536

Rep: Reputation: Disabled
Sudo and wheel group


I've never understood what some of the groups are all about. One in particular was the wheel group.

I recently played with sudo for the first time, and in the configuration file, it has the wheel group what seems to have root access.

If I am the only user of the server and wish to add sudo status to my normal username, should I add me to the wheel group? Is this the purpose of the wheel group?

Thanks
 
Old 03-16-2014, 04:21 PM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
The wheel group in sudo is a little different than a regular sudoer as you can add users to a certain wheel group which has only access to that groups projects with hardly, very little or no access to root.
Whereas your user can be listed under sudo & given full aēcess to root.
 
Old 03-16-2014, 05:14 PM   #3
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 536

Original Poster
Rep: Reputation: Disabled
Thanks Eddie,

The visudo file includes the following line. Are they not suggesting that members of the wheel group should have full access?

Code:
# %wheel  ALL=(ALL)       ALL
 
Old 03-16-2014, 06:40 PM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
My bad you are correct.
Sudo can is more configureable.
http://linuxpoison.blogspot.com/2008...rs-to.html?m=1
 
Old 03-16-2014, 08:11 PM   #5
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 536

Original Poster
Rep: Reputation: Disabled
Thanks Eddie,

Per your referenced post, looks like wheel group is historically just for this use.
Quote:
The wheel group is a legacy from UNIX. When a server had to be maintained at a higher level than the day-to-day system administrator, root rights were often required. The 'wheel' group was used to create a pool of user accounts that were allowed to get that level of access to the server. If you weren't in the 'wheel' group, you were denied access to root.
 
Old 03-17-2014, 12:16 AM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Yes it is legacy but with only 1 user you can just add your username to /etc/sudoers & it's customizable
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Can I add a group of users to the wheel group? Teleute Linux - Security 7 05-21-2010 10:55 PM
Security with regards to wheel group, and sudo users. jdaw Linux - Security 5 10-20-2008 08:29 AM
Wheel Group ronin16 Linux - Newbie 1 12-12-2007 06:43 PM


All times are GMT -5. The time now is 01:16 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration