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.