Correction : {host,local,remote}/ : duplicity + MySQL.
[lhc/ateliers.git] / local / adduser
1 #!/bin/sh -eu
2 tool=$(readlink -e "${0%/*}/..")
3 . "$tool"/local/lib.sh
4
5 user=$1; shift
6 getent passwd "$user" >/dev/null ||
7 sudo /usr/sbin/adduser "$@" "$user"