projects
/
ext/instance-debootstrap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
5075446
)
Mention chpasswd -e in defaultpasswords hook
author
Guido Trotter
<ultrotter@google.com>
Fri, 7 Oct 2011 19:42:33 +0000 (15:42 -0400)
committer
Guido 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
patch
|
blob
|
history
diff --git
a/examples/hooks/defaultpasswords
b/examples/hooks/defaultpasswords
index
ed1dbd6
..
c4313cc
100755
(executable)
--- 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