[CentOS] screen locking - pam and xscreensaver

Wed Jan 16 21:35:55 UTC 2008
Scott Ehrlich <scott at MIT.EDU>

On Wed, 16 Jan 2008, Bob Beers wrote:

> On Jan 16, 2008 3:32 PM, Scott Ehrlich <scott at mit.edu> wrote:
>
>> If Xwindows was to be disabled, and only tty was used, what would be the
>> best option for ensuring the logged-in session was locked after a
>> determined amount of inactivity>
>>
> If logged in to bash, TMOUT is the (seconds) setting to terminate the
> shell if no activity, but it is not fool-proof.  For example, an open vi
> session will prevent the logout.

Appreciate the variable of TMOUT, but I'm not looking to terminate, but 
rather lock the session.

Additionally, I should be able to override the session with the sudo or 
root password.

Other leads welcome.

Scott

>
> HTH,
> -Bob
>