8 lines
117 B
Plaintext
8 lines
117 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
ROOTPW="${GLOBAL_ROOTPW:-root}"
|
||
|
|
||
|
if type -t chpasswd >&/dev/null; then
|
||
|
echo "root:$ROOTPW" | chpasswd
|
||
|
fi
|