- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to unset TMOUT temporarily
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
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
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
тАО09-02-2003 06:45 AM
тАО09-02-2003 06:45 AM
I'm learning HP-UX and this is my first question on the forums :)
I always like to set the TMOUT variable in the .profile of the root user on all my servers. One thing I noticed in HP-UX is that I'm unable to unset the variable. On Linux, I have the variable in .bash_profile and whenever I know I'm going to be working for a while I do a "unset TMOUT" and I'm not kicked out for the time period specified in the variable.
On HP-UX, I have my TMOUT for 60 seconds. No matter if I do "unset TMOUT" ...I'll get the timeout msg at 60 seconds after login. It seems there's no way to turn off the timeout feature once you declare the variable. If I do "echo $TMOUT", after unsetting it, the variable is not there, so I'm unsetting it properly. Is there something I'm missing?
Thanks in advance,
Jorge
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2003 06:48 AM
тАО09-02-2003 06:48 AM
Re: How to unset TMOUT temporarily
.profile and may be you is setting this variable again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2003 06:51 AM
тАО09-02-2003 06:51 AM
Re: How to unset TMOUT temporarily
If you would to "unset" TMOUT you just have to export it again.
Regards,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2003 06:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2003 07:00 AM
тАО09-02-2003 07:00 AM
Re: How to unset TMOUT temporarily
# export TMOUT=
also sets an indefinite timeout.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2003 07:17 AM
тАО09-02-2003 07:17 AM
Re: How to unset TMOUT temporarily
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2003 01:56 AM
тАО09-03-2003 01:56 AM
Re: How to unset TMOUT temporarily
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2003 02:38 AM
тАО09-03-2003 02:38 AM
Re: How to unset TMOUT temporarily
I'm unaware of the method used to set a variable read-only, could you shed some light on my ignorance, please?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2003 09:02 AM
тАО09-03-2003 09:02 AM
Re: How to unset TMOUT temporarily
# typeset -r variable
# variable=somevalue
sh: variable: This variable is read only.
#
Thanks,
Sundar.