bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TIMEOUT


From: Sergio Charpinel Jr.
Subject: TIMEOUT
Date: Sat, 4 Apr 2009 08:37:32 -0300

Hi,
I'm in this mailing list, and I dont know if I am in the right place. If it
doesnt, tell me.
So, first of all, I'm trying to find a way to combine TMOUT variable with
vlock. I just found a way to do this in zhs. And if it is not possible, I
need to set TIMEOUT just for root, and it can't logout when root is using
screen.
I tried to do something, but I'm new in bash. My "script" didnt work.

for f in $( ps ax ); do
    if [ $f == "SCREEN" ]; then
        export TMOUT=0
    fi
done

Help??
Thanks
-- 
Sergio Roberto Charpinel Jr.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]