- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: Automatically logoff an Inactive seesion and b...
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
тАО04-26-2009 01:16 AM
тАО04-26-2009 01:16 AM
Automatically logoff an Inactive seesion and banners
1. we want to configure - pre-login banner and post-login banner. I can put post-login banner in /etc/motd file but where should I write a pre-login banner?
2. We want auto logoff a ssh seesion which is inactive for 10 min. Configuring something like "ClientAliveInterval" in sshd.config.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2009 07:24 PM
тАО04-26-2009 07:24 PM
Re: Automatically logoff an Inactive seesion and banners
1. You can use ur existing MOTD file /etc/motd.
To print this motd, change to following value to Yes.
PrintMotd Yes.
2. auto logoff, yes but there are 2 values which is clientAliveInterval and ClientAliveCountMax
if your clientAliveInterval = 2, then to make it autologoff after 10min, change ClientAliveCountMax to 300.
ClientAliveInterval 2
ClientAliveCountMax 300
Rgds
if this answer ur question, kindly pls assign some points. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2009 10:22 AM
тАО04-27-2009 10:22 AM
Re: Automatically logoff an Inactive seesion and banners
cat /etc/issue
Unauthorized access is prohibited and will be logged
2. You can define a symbol TMOUT in the login script.
grep TMOUT /etc/profile
TMOUT=600
After 600 inactive seconds, the interactive shell script will be automatically logged out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2009 08:32 PM
тАО04-28-2009 08:32 PM
Re: Automatically logoff an Inactive seesion and banners
For banner I used - /etc/ssh2/ssh_banner_message
For auto logoff -
IdleTimeOut
This thread can be closed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2009 08:33 PM
тАО04-28-2009 08:33 PM