Viitor_nagos/tmp/postinstall
kueller bdea1c1b7b User nagos wird auch noch benoetigt
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_nagos@4646 504e572c-2e33-0410-9681-be2bf7408885
2009-04-28 16:59:28 +00:00

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