[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: live-build - how to set a root password by default



I do it by putting a hook in (for example) config/hooks/live/99root.hook.chroot:

----
#!/bin/sh

echo root:mypassword | /usr/sbin/chpasswd
----

--j



On 5/27/19 5:53 PM, PICCORO McKAY Lenz wrote:
there's a way by the use of hooks and redirection to set a root
password for educationall purposes whe i make a build of live disk?

i dont rembenber .. and i cant find by myselft in the debian list a
ancient method to set a default password


Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com



Reply to: