. lib/lsb/init-functions newuser=nobody newgroup=nogroup newid=99 if ! (getent group $newgroup > /dev/null); then log_info_msg "${INFO}Creating $newgroup group${NORMAL}\n" groupadd -g $newid $newgroup fi if ! (getent passwd $newuser > /dev/null); then log_info_msg "${INFO}Creating $newuser user${NORMAL}\n" useradd -c "Unprivileged Nobody" \ -g $newgroup -u $newid -d /dev/null -s /bin/false $newuser fi