Hi,
I try to create account with:
useradd -m -b /home -g git -R /srv/git -s /usr/bin/git-shell username
I get error:
useradd: group 'git' does not exist
However group was created and is present in /etc/group
:
root@turris:/# cat /etc/group
root:x:0:
daemon:x:1:
adm:x:4:
mail:x:8:
audio:x:29:
www-data:x:33:
ftp:x:55:
users:x:100:
network:x:101:
nogroup:x:65534:
sshd:x:22:
transmission:x:224:
shared:!:1000:transmission
knot:x:3535:
mysql:x:6446:
mosquitto:x:200:
rpc:x:65533:
git:x:6447: