2016-11-13 02:05:23 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
getent group git >/dev/null || /usr/sbin/groupadd -r git
|
|
|
|
|
|
|
|
# default ssh settings requrie an unlocked account with a valid loginshell
|
2016-11-27 03:37:58 +01:00
|
|
|
getent passwd git > /dev/null || (/usr/sbin/useradd -g git -r -s /bin/sh git; /usr/sbin/usermod -p x git)
|
2016-11-13 02:05:23 +01:00
|
|
|
|