1 ## arg 1: the new package version
3 echo "Adding slurm system group... "
6 echo "Adding slurm system user... "
8 [ -v SLURM_USER_ID ] && uidopt="-u ${SLURM_USER_ID}"
9 useradd -r -c "Slurm Daemon" -d /var/log/slurm -g slurm ${uidopt} slurm
11 echo "Locking Slurm User Account..."
12 passwd -l slurm &>/dev/null
15 ## arg 1: the old package version
17 echo "Removing slurm system user/group "
21 # vim:set ts=2 sw=2 et: