#!/bin/bash if getent group nobody 2>&1 >/dev/null; then groupdel nobody fi if getent passwd nagios 2>&1 >/dev/null; then userdel nagios fi