> i think chpasswd is what your looking for.
> chpasswd user:pass
>
> on woody atleast its included in the passwd package
>
> > im wondering if there is any non-interactive way to set a user's
> > password.......i need to do it through a script....please

Actually, I use Perl script with a shell system call to 'usermod' or
'useradd' with the '-p' option, however you have to remember to crypt the
password - crypt($passwd,$seed) - in the Perl script.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to