cleaning class
[fai-configs.git] / scripts / LIBREPLANET / 00_adduser.sh
1 #!/bin/bash
2 # add a demo user account
3 if ! $ROOTCMD getent passwd libreplanet ; then
4 $ROOTCMD adduser --gecos "LibrePlanet Conference User" libreplanet
5 # echo "demo:$ROOTPW" | $ROOTCMD chpasswd --encrypted
6 $ROOTCMD usermod -p "$ROOTPW" libreplanet
7 fi