From bae6265e4c44341ed641f691aaa04a6f21946656 Mon Sep 17 00:00:00 2001 From: Guido Trotter Date: Fri, 7 Oct 2011 15:42:33 -0400 Subject: [PATCH] Mention chpasswd -e in defaultpasswords hook Signed-off-by: Guido Trotter Reviewed-by: Iustin Pop --- examples/hooks/defaultpasswords | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) 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 -- 1.7.2.5