bdea1c1b7b
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_nagos@4646 504e572c-2e33-0410-9681-be2bf7408885
10 lines
217 B
Bash
10 lines
217 B
Bash
#!/bin/bash
|
|
|
|
if [ ! getent passwd nagios 2>&1 >/dev/null ]; then
|
|
useradd -u 52 nagios >/dev/null 2>/dev/null
|
|
fi
|
|
if [ ! getent group nobody 2>&1 >/dev/null ]; then
|
|
groupadd -g 65534 nobody >/dev/null 2>/dev/null
|
|
fi
|
|
|