From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Fri 03 Jan 2003 - 17:15:17 GMT
On Fri, Jan 03, 2003 at 05:09:21PM +0000, Paul Sladen wrote:
> On Wed, 1 Jan 2003, Robert Rolfe wrote:
> > "vserver blah exec passwd root <password>"??
>
> There are probably better ways. I always used to use an expect script:
>
> http://www.paul.sladen.org/junk/useful/reset-password.sh
>
> [also attached]. Or just poke the hashed value you want into the
> `/etc/passwd' file on the vserver.
why should this be better than e.g. usermod?
best,
Hebert
> -Paul
> --
> Nottingham, GB
>