sean finney wrote:
My bad...um, under whose implementation of passwd? certainly not debian's. please correct me if i'm wrong, but passwd doesn't take as an argument the new password, as it rightly shouldn't. think about what that would mean. anyone with enough sense to run top -c (or it's ps counterpart) could learn your root password.sean
Instead of passwd, you'll need to do something like `echo "root:$1" | chpasswd -e`. If having other users see the passwd is a problem (good concern if other people can log in locally) do a crypt on the passwd first before passing to chpasswd, and eliminate the -e.
--Rich
_________________________________________________________
Rich Puhek
ETN Systems Inc.
2125 1st Ave East
Hibbing MN 55746
tel: 218.262.1130
email: [EMAIL PROTECTED]
_________________________________________________________
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]