[xen-tools] Re: password used by script
Steve Kemp
steve at steve.org.uk
Mon Apr 2 01:52:32 CEST 2007
On Mon, Apr 02, 2007 at 01:41:02AM +0200, Gal Buki wrote:
> I'm looking for a way to generate the domUs automatically.
Ahh, in that case you could use an expect script in
a hook perhaps. But there isn't the facility for that.
To be honest I have two approaches:
1. Use "accounts = 1" to setup the user accounts, and
make sure sudo is installed. So root passwd is blank,
but this doesn't matter because remote SSH access would be
denied.
2. Install a key with the /etc/xen-tools/skel/ directory
then use keybased authentication.
> Is it possible to set a passwort with --passwd=mypassword?
No.
I'd accept code updating the handling such that either of
these worked as expected:
--passwd
--passwd=my-new-password
Although having them on the command line would suck ....
(I'd suggest the code should use the Expect.pm module; which
should be reasonably trivial ..)
Steve
--
More information about the xen-tools-discuss
mailing list