From: Robert Rolfe (rrolfe_at_genpac.com)
Date: Wed 01 Jan 2003 - 17:27:54 GMT
Yes.. But how would you send that to a vserver that was just created in
I tried the following:
[root_at_vps root]# vserver test exec "/bin/echo <pass> | /usr/bin/passwd
ipv4root is now 220.127.116.11
New security context is 21
Can't execute /bin/echo <pass> | /usr/bin/passwd --stdin root (No such
file or directory)
And got that result...
From: Herbert Poetzl [mailto:herbert_at_13thfloor.at]
Sent: Wednesday, January 01, 2003 8:09 AM
Subject: Re: [vserver] vserver creation from command line
On Wed, Jan 01, 2003 at 12:56:40AM -0800, Robert Rolfe wrote:
> ok, so far i have figured out how to create a vserver from the
> line on the main system without using the newvserver command. The
> only thing i have yet to figure out is how the newvserver command
> the root password for the new vserver... can anyone shed some
> on this subject? any way to do this all in one command? eg
> blah exec passwd root <password>"??
or if you have an already crypted password
usermod -p "<crypted password>" root
> Any help would be appriciated...