LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 03:09 PM   #1
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 789

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, 03:21 PM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

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, 04:14 PM   #3
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 789

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, 05:40 PM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

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, 07:11 PM   #5
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 789

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-16-2014, 11:16 PM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

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



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 09:55 PM
Security with regards to wheel group, and sudo users. jdaw Linux - Security 5 10-20-2008 07:29 AM
Wheel Group ronin16 Linux - Newbie 1 12-12-2007 05:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:21 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