- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: Help with disconnecting idle telnet 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
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
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
тАО06-04-2008 09:57 AM
тАО06-04-2008 09:57 AM
Help with disconnecting idle telnet users
My company uses the Tru64 5.1b OS. Our user connect to a program called WMS via a telnet connection. We are in need of being able to have the system disconnect idle user connections that have been idle for approx. 15 minutes. I have tried the TMOUT in /etc/profile but it does not seem to work. Not sure if a change in that file requires a system reboot or not. Any help is greatly appreciated!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2008 01:17 PM
тАО06-04-2008 01:17 PM
Re: Help with disconnecting idle telnet users
> via a telnet connection.
You mean they connect to the Tru64 system
using Telnet, log in, and run a program
called WMS? (Or do they Telnet to some
oddball port where WMS is listening?)
> I have tried the TMOUT in /etc/profile but
> it does not seem to work.
Tried how? /etc/profile is a shell start-up
file, so it's read when a login shell is
started. Changing it has no effect on a
_running_ shell.
> Not sure if a change in that file requires
> a system reboot or not.
Only a shell restart. (Loging in again would
be an easy way to start a fresh shell.)
Of course, whether your shell reads
/etc/profile or cares about TMOUT rather
depends on your shell. A C shell ignores
/etc/profile. The classic Bourne shell may
not care about TMOUT.
man sh
man 1b sh | grep 'T.*M.*O.*U.*T'
man 1p sh | grep 'T.*M.*O.*U.*T'
Setting both TMOUT and TIMEOUT might be
useful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2008 01:21 PM
тАО06-04-2008 01:21 PM
Re: Help with disconnecting idle telnet users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2008 01:33 PM
тАО06-04-2008 01:33 PM
Re: Help with disconnecting idle telnet users
Why trust _me_?
> man sh
> man 1b sh | grep 'T.*M.*O.*U.*T'
> man 1p sh | grep 'T.*M.*O.*U.*T'
Or for more casual exploration:
man 1b sh
man 1p sh
So, which shell(s) are you using?
For testing, you should be able to set the
appropriate variable interactively -- no need
to restart the shell that way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2008 09:58 PM
тАО06-04-2008 09:58 PM
Re: Help with disconnecting idle telnet users
Can you try puttin TMOUT in .profile file.
Which shell u r using???
How this WMS is starting for user??
BR,
Kapil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2008 07:44 AM
тАО06-05-2008 07:44 AM
Re: Help with disconnecting idle telnet users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2008 08:11 AM
тАО06-05-2008 08:11 AM
Re: Help with disconnecting idle telnet users
You'll be able to find out what shell your users are using by looking at the last field of each line in /etc/passwd
Once you've determined that, it should be feasible to work out which timeout parameter to set...
Cheers,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2008 08:13 AM
тАО06-05-2008 08:13 AM
Re: Help with disconnecting idle telnet users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2008 11:42 AM
тАО06-06-2008 11:42 AM
Re: Help with disconnecting idle telnet users
As Steven pointed out, you need to be using the TIMEOUT paramter, as shown in the man page for sh.
# man 1b sh
Cheers,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2008 04:52 AM
тАО06-09-2008 04:52 AM