Whitespace/style cleanups
[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
4 # default.
5
6 # Note: depending on your version of passwd, chpasswd can use the -e
7 # flag to handle en encrypted password. you probably want to use that.
8
9 cat $(dirname $0)/confdata/defaultpasswords | chroot $TARGET chpasswd