Mention chpasswd -e in defaultpasswords hook
authorGuido Trotter <ultrotter@google.com>
Fri, 7 Oct 2011 19:42:33 +0000 (15:42 -0400)
committerGuido Trotter <ultrotter@google.com>
Mon, 10 Oct 2011 17:43:18 +0000 (13:43 -0400)
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>

examples/hooks/defaultpasswords

index ed1dbd6..c4313cc 100755 (executable)
@@ -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