[lxc-users] credentials for fedora container

Michael H. Warfield mhw at WittsEnd.com
Thu Dec 26 00:17:19 UTC 2013


On Wed, 2013-12-25 at 13:19 -0500, Leonid Isaev wrote: 
> On Wed, 25 Dec 2013 10:17:20 -0500
> "Michael H. Warfield" <mhw at WittsEnd.com> wrote:

> > In that case, you definitely need to go with 1.0.0-beta1 or better.  I

> is there anything special in the template that expects lxc-start 1.0.0, or one
> can simply download the template and run it as a bash script, and keep lxc
> 0.9.0?

Nope.  If you have a fully configured template from 1.0.0-beta1 and it
should work perfectly fine on what you have.

> > just did the same thing and root/root worked (we've got to figure out
> > something better there)

> What about generating a random passwd from /dev/random, e.g.
> root_password="$(tr -cd '[:graph:]' < /dev/random | head -c 15)", echo
> $root_password to stdout and prompt the user to take note/change it on 1st
> login?

I'm working on something now.  I've already submitted a strawman
proposal to the lxc-devel list for a root password like this:

Root-${Container_Name}-${RANDOM}

We'll see.

> > 
> > Regards,
> > Mike
> > 
> 
> Cheers,
> Leonid.

Regards,
Mike
-- 
Michael H. Warfield (AI4NB) | (770) 978-7061 |  mhw at WittsEnd.com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20131225/f61bea1a/attachment-0001.pgp>


More information about the lxc-users mailing list