You are not logged in.
Pages: 1
I'm running the bookworm release.
In the past, I have run my systems using be setting the "autologout"
environment value, e.g.
setenv autologout 3600
This gets set in my $HOME/.cshrc file, which is executed when I log in.
I have been trying to get the auto logout feature to work, but with
no success. Should I be using a different command.
Jim A.
Offline
The future arrived. Read the terms and conditions.
Offline
Thank for the input, but autologout is still not working for me.
My /etc/profile.d/autologout.csh is:
#! /bin/csh -f
set -r autologout=5
At this point, I am thinking there is a system problem on my PC, but I am not sure how to track it down. I have looked at the /var/log directory, but I don't see anything there out of the ordinary.
Last edited by jjanderson5 (Today 12:43:40)
Offline
I followed the instructions at:
https://www.cyberciti.biz/faq/linux-uni … time-outs/
Below the line in this post is a short sequence showing:
1) the contents of /etc/profile.d/autologout.csh on my system where autologout is
set to 1 minute
2) the data and time
3) the date and time 90 seconds later
In theory, the session should have logged out after 1 minute, but 90 seconds later the sessions was still running. I tried this sequence on a different host, and the session did not logout there either.
_____________________________________________________________
jja@hodges% cat /etc/profile.d/autologout.csh
#! /bin/csh -f
set -r autologout=1
jja@hodges% date
Tue Jun 23 09:08:42 AM EDT 2026
jja@hodges% !!
date
Tue Jun 23 09:10:12 AM EDT 2026
jja@hodges%
Offline
Pages: 1