forcing ssl
[fai-configs.git] / scripts / GMG / 05_create_local_user.sh
1 #!/bin/bash
2
3 # Create mediagoblin user & group
4 if ! $ROOTCMD getent passwd mediagoblin ; then
5 $ROOTCMD useradd -c "GNU MediaGoblin system account" -d /var/lib/mediagoblin -m -r -g www-data mediagoblin
6 $ROOTCMD groupadd mediagoblin && $ROOTCMD usermod --append -G mediagoblin mediagoblin
7 fi