File: defaultpasswords

package info (click to toggle)
ganeti-instance-debootstrap 0.17-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 240 kB
  • sloc: sh: 488; makefile: 54
file content (9 lines) | stat: -rwxr-xr-x 301 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
#!/bin/sh
#
# This is an example script that sets the root pasword to a given
# default.

# Note: 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