Caesar
Contributor
- Joined
- Feb 22, 2013
- Messages
- 114
I have read the docs and searched the forums and it seems very simple.  if you want a user to sudo; they need to be added to the 'wheel' group but 'wheel' must not be the primary group.  Now when I first created this account I added wheel as it's primary group bc its my main account and I didn't know about the su requirement.  I have since changed it but I still cannot su.  Am I missing something?  
	
		
			
		
		
	
			
			Code:
[ebright@storage] ~> id
uid=1003(ebright) gid=1003(users) groups=1003(users),0(wheel)
[ebright@storage] ~> su root
Password:
su: Sorry
[ebright@storage] ~> sudo su
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.
Password:
Sorry, user ebright is not allowed to execute '/usr/bin/su' as root on storage.h                                                  ome.
[ebright@storage] ~>
 
				 
 
		 
 
		 
 
		