sudoers disaster

R.L. Reingard reingard at hispeed.ch
Wed Sep 28 21:59:21 UTC 2005


> Am 28.09.2005, 22:51 Uhr, schrieb ulrich steffens  
> <ulrich at barfuss-jerusalem.org>:

> and according to RTFM you should use 'visudo' to edit the sudoers file.
> man visudo

Hello Ulrich
right, i did so by:

$ export EDITOR=gedit && sudo visudo

as mentioned in: http://www.ubuntuguide.org/#allowmoresudoers

when reading in the sudoers file, that all members of the admin group may  
gain root priviliges, i went to 'User and Groups' and added the new user  
to the group 'admin' and put the default (sudo) user out of 'admin' - with  
the mentioned 'sudoers desaster'. after i could fix it, i reproduced that  
again and the same problem comes up. somehow the new user literally gets  
kicked out of the group 'admin'!

# Defaults
Defaults	!lecture,tty_tickets,!fqdn

# User privilege specification
root	ALL=(ALL) ALL

# Members of the admin group may gain root privileges
%admin	ALL=(ALL) ALL




More information about the ubuntu-users mailing list