blob: b400d19fd1572a28ade3974d785ee2d738c0b4d5 (
plain)
1 #!/bin/sh
2
3 if [ -z "`getent group ngircd`" ]; then
4 /usr/sbin/groupadd --system ngircd
5 fi
6
7 if [ -z "`getent passwd ngircd`" ]; then
8 /usr/sbin/useradd -r -g ngircd -d /var/empty -s /bin/false -c "ngircd server" ngircd
9 /usr/bin/passwd -l ngircd
10 fi
|