Hello, As part of PCI DSS compliance process (http://en.wikipedia.org/wiki/PCI_DSS) one of the questions there is about forcing auto-lock of shell sessions upon inactivity.
I know about autologout in sshd, which I personally disable (but maybe now will have to enable for PCI compliance). But if auto-lock is acceptable then it looks more appealing to me since it would mean that I won't lose remote sessions while going out to lunch. Back in BSD 4 there used to be a utility to lock the screen called "lock". I don't see it any more. The closest I found is "vlock" which at first I though is meant to be used only on virtual consoles but apparently it can be used for ssh session as well. Here is a link on how to set this up with zsh, and why it won't work for bash: http://www.howtointernets.com/wiki/index.php/Set_up_Inactive_Shell_Timeout_/_Lock_on_CentOS_5 Does anyone know how to achieve what I'm looking for? Thanks, --Amos _______________________________________________ Linux-il mailing list [email protected] http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
