On Tue, 13 Jul 1999 [EMAIL PROTECTED] wrote:
> Hello,
>
> I was wondering if there is any open source program that will allow root to
> change anyone password from the Comand Line? Not like that interactive one
> that ships will all unices, but one which you can pass the password for the user
> to the program though a parameter.
have you tried :
echo -e "password\npassword" |passwd username
?
I'm not sure if this will work, but it is worth trying
Frank
>
> The normal process of change a password goes like so
> # passwd username
> #Enter New password: *****
> #ReEnter Password: *****
> #Password has been changed.
>
> I would like to do it from a script like so
> # passwd username -p !pass56
> #Password has been changed.
>
> I know this is insecure way of doing this, but the only people that should be
> on the system in the first place is admins, it is nothing more than a workstation,
>not even a server, plus I don't really care, so
> I am willing to take this security risk..
>
> Or would there be anyway to change a password inside a script with the normal
> password program?
>
> Thanxz
>
HI! I'm a .signature virus! cp me into your .signature file to help me spread!