blob: 97e57e92bb81bfdeb0011a97357d768a1685993b (
plain)
1 #!/bin/sh
2
3 if [ -z "`getent group named`" ]
4 then
5 /usr/sbin/groupadd -g 25 named
6 fi
7
8 if [ -z "`getent passwd named`" ]
9 then
10 /usr/sbin/useradd -u 25 -g named -d /var/named -s /bin/false named
11 /usr/bin/passwd -l named
12 fi
13
14 # End of file
|