[xen-tools] Re: password used by script

From: Steve Kemp <steve_at_steve.org.uk>
Date: Mon, 2 Apr 2007 00:52:32 +0100
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
-- 
Received on Mon Apr 02 2007 - 00:52:45 BST

Mailing list overview.