10 lines
209 B
Plaintext
10 lines
209 B
Plaintext
|
#!/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
|
||
|
|