c4313cc4fad2ee0aa7bf260084f52ba7b7c4960e
[ext/instance-debootstrap.git] / examples / hooks / defaultpasswords
1 #!/bin/sh
2 #
3 # This is an example script that sets the root pasword to a given default
4
5 # depending on your version of passwd, chpasswd can use the -e flag to handle en encrypted password. you probably want to use that.
6
7 cat $(dirname $0)/confdata/defaultpasswords | chroot $TARGET chpasswd
8
9