From: Guido Trotter Date: Fri, 7 Oct 2011 19:42:33 +0000 (-0400) Subject: Mention chpasswd -e in defaultpasswords hook X-Git-Tag: v0.10~4 X-Git-Url: http://git.equinoxoli.org/?p=ext%2Finstance-debootstrap.git;a=commitdiff_plain;h=bae6265e4c44341ed641f691aaa04a6f21946656 Mention chpasswd -e in defaultpasswords hook Signed-off-by: Guido Trotter Reviewed-by: Iustin Pop --- diff --git a/examples/hooks/defaultpasswords b/examples/hooks/defaultpasswords index ed1dbd6..c4313cc 100755 --- a/examples/hooks/defaultpasswords +++ b/examples/hooks/defaultpasswords @@ -2,6 +2,8 @@ # # This is an example script that sets the root pasword to a given default +# depending on your version of passwd, chpasswd can use the -e flag to handle en encrypted password. you probably want to use that. + cat $(dirname $0)/confdata/defaultpasswords | chroot $TARGET chpasswd