[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sync root passwords?



On Mon, Dec 16, 2002 at 07:08:29PM -0800, Alvin Oga wrote:
> > > #/bin/sh
> > > 
> > > servers="server1 server2 server3 server4";
> > > 
> > > for server in $servers; do
> > >     ssh $server passwd root $1;
> > > done;
> > > 
> > > which would ssh into every server in the list $servers, and change the 
> > > root password to the given arguement.

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

Attachment: pgp4Pa0jZAbMQ.pgp
Description: PGP signature


Reply to: