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