- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to automate logouts for inactive users
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 01:04 AM
07-10-2003 01:04 AM
How to automate logouts for inactive users
I need to force logouts for users who go inactive for a certain period of time.
note the users work through unfixed ttys.
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 01:10 AM
07-10-2003 01:10 AM
Re: How to automate logouts for inactive users
This will timeout a user after one hour.
Change to suit. Be aware that this will not work for CDE users, or users within some sort of application. (use autologout for csh)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 01:10 AM
07-10-2003 01:10 AM
Re: How to automate logouts for inactive users
csh
set autologout = 120
ksh and others look at TMOUT
If the TMOUT= environment variable is set to any value greater than 0, the Korn Shell windows will timeout at this specified time.
NOTE. Uses seconds
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 01:10 AM
07-10-2003 01:10 AM
Re: How to automate logouts for inactive users
you can set the
TMOUT=
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 01:12 AM
07-10-2003 01:12 AM
Re: How to automate logouts for inactive users
TMOUT=
in /etc/profile or in individual .profiles
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 01:16 AM
07-10-2003 01:16 AM
Re: How to automate logouts for inactive users
You can also do:
readonly TMOUT
which means that users cannot change the timeout.
Without doing this step, a user could quite simply do:
TMOUT=0
and disable the auto-logout.
Ollie.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 01:28 AM
07-10-2003 01:28 AM
Re: How to automate logouts for inactive users
TMOUT=
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 01:42 AM
07-10-2003 01:42 AM
Re: How to automate logouts for inactive users
1- the users are not hp-ux users,they use an old application i.e PIOPEN.
2-the users do not have individual ID or login names,a group of them login as (finance)the other group login as (pay).So I need to force a certain inactive tty user to logout.(Actually its an application user license problem).
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 01:59 AM
07-10-2003 01:59 AM
Re: How to automate logouts for inactive users
TMOUT=600(in secs)
export TMOUT
Global file /etc/profile
for csh
logout=60(in min)
for all csh users /etc/csh.login
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 06:34 AM
07-10-2003 06:34 AM
Re: How to automate logouts for inactive users
See the attached, it may be dated but it works. We set the idle time to be 30 minutes, anything after that is toast.