1 2 3 4 5 6
#!/bin/sh adduser -S -D -H -h /dev/null -s /sbin/nologin -g nagios nagios 2>/dev/null addgroup -S nagios 2>/dev/null exit 0