round2 of gmg install
[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
6 $ROOTCMD groupadd mediagoblin && sudo usermod --append -G mediagoblin mediagoblin
7fi