On 08/19/2014 06:39 PM, Daniel Baumann wrote:
> my lxc-debconfig previously used as lxc-debian used to use /dev/random
> for mac address thus not having a depends on anything, similar could be
> done for a random password

in fact, it also did it for the root password:

---snip---
[...]

# Create a random password as suggestion for the user
_RANDOM_PASSWORD="$(dd if=/dev/urandom bs=6 count=1 2> /dev/null | base64)"

[...]
---snap---

-- 
Address:        Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:          [email protected]
Internet:       http://people.progress-technologies.net/~daniel.baumann/


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to