Mention chpasswd -e in defaultpasswords hook
[ext/instance-debootstrap.git] / 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