Re: [CentOS] screen locking - pam and xscreensaver

2008-01-16 Thread Scott Ehrlich

On Wed, 16 Jan 2008, Bob Beers wrote:


On Jan 16, 2008 3:32 PM, Scott Ehrlich <[EMAIL PROTECTED]> 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


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] screen locking - pam and xscreensaver

2008-01-16 Thread Bob Beers
On Jan 16, 2008 3:32 PM, Scott Ehrlich <[EMAIL PROTECTED]> 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.

HTH,
-Bob
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] screen locking - pam and xscreensaver

2008-01-16 Thread Scott Ehrlich
For an out-of-box Centos install that utilizes PAM for xscreensaver within 
both gnome and kde, what factors would lead to xscreensaver not being able 
to properly unlock the user?   I reviewed the logs and nothing helped.


I performed ldd on xscreensaver and an ls -l on each dependency proved 
they were all there.


The system uses local /etc/passwd and /etc/shadow files for 
authentication - no NIS or LDAP or Kerberos.


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>


Also, if the user stepped away from the system and wanted to manually lock 
it, what is the best tty screen-locking utility? I reviewed vlock, but 
after prompting me for my password, it then prompted for root's.  That was 
less than helpful.


Thanks.

Scott
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos