613328473f07e3331c0ccdd4978504023c4a302e
[fai-configs.git] / 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