- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- login timeout
Operating System - HP-UX
1819946
Members
3745
Online
109607
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО06-04-2002 09:29 AM
тАО06-04-2002 09:29 AM
Hi guys
on another note....
Is there a timeout session that i can disable
when logged in so it does not boot me out due to inactivity ?
thans for your help...
on another note....
Is there a timeout session that i can disable
when logged in so it does not boot me out due to inactivity ?
thans for your help...
if it aint broke, dont fix it
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2002 09:53 AM
тАО06-04-2002 09:53 AM
Solution
The only standard feature in HP-UX that can do that is the shell timeout, normally not set. For POSIX shell users, type:
echo $TMOUT
If set, it will be the number of seconds of idle shell prompt time before an auto-logout occurs. For csh, the variable is autologout and is in minutes.
In both cases, the shell only counts the time at the shell prompt. If you run a copy of vi, the timer stops and restarts once you exit vi.
So, simply set TMOUT or autologout to 0 to avoid getting a timeout. However, I would only do this when your computer is not connected to any network. This is more of a security issue than performance controls.
Bill Hassell, sysadmin
echo $TMOUT
If set, it will be the number of seconds of idle shell prompt time before an auto-logout occurs. For csh, the variable is autologout and is in minutes.
In both cases, the shell only counts the time at the shell prompt. If you run a copy of vi, the timer stops and restarts once you exit vi.
So, simply set TMOUT or autologout to 0 to avoid getting a timeout. However, I would only do this when your computer is not connected to any network. This is more of a security issue than performance controls.
Bill Hassell, sysadmin
- Tags:
- TMOUT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2002 11:26 AM
тАО06-04-2002 11:26 AM
Re: login timeout
Hi,
You can search for the following entry in the /etc/profile or .profile file of the users.
Remove the TMOUT paramters from /etc/profile for all users.
TMOUT=seconds
TMOUT affects how the shell itself operates. So if someone is sitting at a
shell prompt too long, they get logged out.
But if they, for instance, run the vi editor and then walk away, TMOUT does no
good. The vi editor ignores TMOUT. While any program could obtain TMOUT and
respect it, none except the shell do (as far as I know).
Even if they did, the editor would probably just exit and thus the shell would
then start a second TMOUT period.
Thats it.
Regards,
piyush
You can search for the following entry in the /etc/profile or .profile file of the users.
Remove the TMOUT paramters from /etc/profile for all users.
TMOUT=seconds
TMOUT affects how the shell itself operates. So if someone is sitting at a
shell prompt too long, they get logged out.
But if they, for instance, run the vi editor and then walk away, TMOUT does no
good. The vi editor ignores TMOUT. While any program could obtain TMOUT and
respect it, none except the shell do (as far as I know).
Even if they did, the editor would probably just exit and thus the shell would
then start a second TMOUT period.
Thats it.
Regards,
piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2002 12:48 PM
тАО06-04-2002 12:48 PM
Re: login timeout
You may want to check with your System Administrator (SA) to make sure he/she is not running a "killer" script. A "killer" script is one that monitors Process IDs and their CPU utilization. It will kill a process that has been idle for so many minutes. Some SAs run "killer" script to get around those users who sit in vi to avoid being killed.
Marty
Marty
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP