--- "Dong B. Calmada" <[EMAIL PROTECTED]> wrote:

> ...  We were amazed to know
> that the root entry was
> at the end of the file with the uid not being 0 and
> the home folder
> being /home/root. In my mind, I was shouting at my
> colleague for
> meddling with the root account.


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


Send instant messages to your online friends http://uk.messenger.yahoo.com 
_________________________________________________
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

Reply via email to