How to disable ( deny ) user to change the password of root
edwardspl at ita.org.mo
edwardspl at ita.org.mo
Mon Nov 17 08:49:05 UTC 2008
Dear All,
For the sudo setting ( visudo ) :
User_Alias SYSADM = manager
Cmnd_Alias NOROOT = !/usr/bin/passwd root
Cmnd_Alias USER = /usr/sbin/adduser, /usr/bin/passwd, /bin/chown,
/usr/sbin/userdel
SYSADM MH = (ALL) NOROOT,USER
BUT the test result as the following :
[manager at xxx ~]$ sudo passwd root
Changing password for user root.
New UNIX password:
So, what wrong of the config ?
Many thnak for your hints...
Edward.
More information about the fedora-list
mailing list