[olug] remote password changes

Daniel Pfile daniel at pfile.net
Wed May 31 18:51:44 UTC 2006


Right, mine doesn't do the --stdin. It looks like redhat and suse may  
do it.

Also, check out the passmass script with the expect source distro.  
You could modify it to use ssh instead. Essentially it would act like  
you logging in to each machine and changing the password by hand.

-- Daniel

On May 31, 2006, at 1:44 PM, Ryan Stille wrote:

> Daniel Pfile wrote:
>> Sorry guys, I don't think you can pass the password on the command
>> line. passwd is interactive only. You could use an expect script to
>> do it.
>>
> The man page I found via google earlier showed that the new password
> could be passed in on the command line, but I guess there are  
> different
> versions of passwd in different distros....  And I can't find that man
> page now....
>
> -Ryan
>
>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug




More information about the OLUG mailing list