> -----Original Message-----
> From: Mike Egglestone [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 04, 2002 2:02 PM
> To: debian
> Subject: Re: sync root passwords?
> 
> Quoting Andrew Perrin <[EMAIL PROTECTED]>:
> 
> > You might want to reconsider the project, frankly - why not make
> different
> > root passwords for different machines? That would seem to be a more
> secure
> > alternative. You can make them systematically different to save
yourself
> > memorizing them all, by (for example) using the second letter of the
> > hostname as one of the characters of the root password or something
> along
> > those lines.
> >
> > ap
> >
> It might be a little more secure. but what happens when the pattern
> changes?
> You have to login to each server and adjust it. I would like one
script to
> do
> them all at one shot. Plus, I figure if they hack my root passord,
they
> could
> probably easily figure out the pattern and get all my other servers
> anyway.
 
So then do something like:

#!/bin/sh
SERVER="merc satu plut mars uran"

for i in $SERVER
 do
  ssh $SERVER passwd root 123$i321
 done


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

Reply via email to