http://bugs.skolelinux.no/show_bug.cgi?id=865





------- Additional Comments From [EMAIL PROTECTED]  2007-08-09 10:28 -------
I'm using this script: 
#!/bin/sh

ps hax --format user,pid,command | \
    grep ssh[d] | \
    while read USER PID SSHD LOGIN ; do
        test "$USER" = "root" && continue
        case "$LOGIN" in
            [EMAIL PROTECTED])
                DISPLAY=$(ps h --ppid $PID --format command | sed -e
's:.*LTSP_CLIENT="\(.*\)" .*:\1:g')
                echo $USER $DISPLAY
                ;;
            *) echo "$LOGIN" ;;
        esac
    done





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to