3 # This is an example script that sets the root pasword to a given default
5 # depending on your version of passwd, chpasswd can use the -e flag to handle en encrypted password. you probably want to use that.
7 cat $(dirname $0)/confdata/defaultpasswords | chroot $TARGET chpasswd