[lxc-devel] root and ubuntu pass

Ducos Laurent laurent.ducos at biblibre.com
Thu Apr 17 12:07:08 UTC 2014


Hello
Is it possible to secure the password generated by debian and ubuntu 
templates like this ?

    password=$(apg -a 0 -M ncl -n 1 -x 10 -m 8)
    echo "$user:$password" | chroot $rootfs chpasswd
    echo "$user password is $password  !"

root:root or ubuntu:ubuntu by default is very insecure


-- 
Laurent Ducos
Administrateur système et réseaux
laurent.ducos at biblibre.com
09 74 77 07 16

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20140417/b31a89f9/attachment.html>


More information about the lxc-devel mailing list