--- /etc/rc.d/oidentd 2008-04-17 17:35:39.000000000 +0200 +++ /etc/rc.d/newoidentd 2010-07-12 12:14:20.484875791 +0200 @@ -7,9 +7,22 @@ case "$1" in start) stat_busy "Starting oidentd Daemon..." + # read user/group information from default file and check + # if they exist. If not, use nobody:nobody + USER="" + GROUP="" + if [ -r /etc/default/oidentd ]; then + source /etc/default/oidentd + fi + if [ -z ${USER} ]; then + USER="nobody" + fi + if [ -z ${GROUP} ]; then + GROUP="nobody" + fi # oidentd is smart enough to only run one copy of # itsself, no check nesecary, and no pidfile - /usr/sbin/oidentd + /usr/sbin/oidentd -u ${USER} -g ${GROUP} if [ $? -gt 0 ]; then stat_fail else