- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Inactivity timeout for HP-UX 11i
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
11-17-2003 03:01 AM
11-17-2003 03:01 AM
I have been trying to determine if there is some sort of default inactivity timeout in HPUX 11i. Whenever I am logged in as root on my server, it times me out after a certain period of inactivity. It does this even though I have set TMOUT to 0, or unset it. Here's an example:
# TMOUT=0; export TMOUT
#
Shell will time out in 60 seconds.
sh: Timed out waiting for input.
Is there a system defined timeout? This only seems to be affecting me on HPUX 11i, not anything lower than that.
Any help would be appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 03:03 AM
11-17-2003 03:03 AM
Re: Inactivity timeout for HP-UX 11i
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 03:35 AM
11-17-2003 03:35 AM
Re: Inactivity timeout for HP-UX 11i
after reboot the system.
(check of file system and repair it)
HTH
Bruno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 03:45 AM
11-17-2003 03:45 AM
Re: Inactivity timeout for HP-UX 11i
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 03:53 AM
11-17-2003 03:53 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 05:30 AM
11-17-2003 05:30 AM
Re: Inactivity timeout for HP-UX 11i
Sudo...
Okay, here's how we run things. I log in using a "normal" account, then use sudo to become root and ALSO get a "script" of all my commands (for auditing purposes). We set the value of TMOUT in /etc/profile to be 1800 (30 minutes). What I bet is happening is that it runs the "/etc/sudo /etc/sudotrace" command as root, then the script command as a subprocess of that. I can change the TMOUT for the child process (the one running the script), but I can't change the TMOUT variable for it's parent. That is probably the process that eventually times out.
Does that sound like a plausible explanation?
Thanks for pushing me in the right direction. This has been bugging me for a few months now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2003 01:12 AM
11-18-2003 01:12 AM
Re: Inactivity timeout for HP-UX 11i
Edit .chsrc for the individual user and add
set autologout = 0
This will turn off the autologout feature.
Or to set it globally, edit the file /etc/csh.login and set the same variable. The variable takes a number that represents the number of minutes of inactivity to wait.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2003 01:23 AM
11-18-2003 01:23 AM