According to Michael Tinsay: > Date: Fri, 8 Jul 2005 03:08:51 +0100 (BST)
> You should modify the sudoers file to prevent a > recurrence of this. Here's my settings that (I hope) > prevents such. > > Cmnd_Alias USRMGRTOOLS = \ > /usr/sbin/useradd, /usr/sbin/usermod, \ > /usr/sbin/userdel, /usr/bin/passwd, \ > !/usr/sbin/useradd .* root, \ > !/usr/sbin/usermod .* root, \ > !/usr/sbin/userdel .* root, \ > !/usr/bin/passwd root, \ > /usr/bin/smbpasswd, \ > !/usr/bin/smbpasswd .* root > > usrmgr ALL=USRMGRTOOLS I'll definitely consider this tip of yours. Thanks. Dong _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

