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