Hi, maybe I just tried to reinvent the wheel, but the attached simple script can reveal user identity by finding parent process with other than root user attribute. What about to use a similar code for author? Maybe this idea is bad. Regards -- Zito
#!/bin/sh pid=$$ while test -n "$pid" -a "$pid" -gt 0 do uid=$(ps --no-headers -o uid --pid $pid) test "$uid" -gt 0 && break pid=$(ps --no-headers -o ppid --pid $pid) done IFS=":" set -- $(getent passwd $uid) username="$1" realname="${5%%,*}" if test -n "$realname" -a "$realname" != "$username" then realname="\"$realname\" " else realname="" fi echo "[EMAIL PROTECTED](hostname -f)"