- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: time out session vreation
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-02-2009 10:17 PM
тАО04-02-2009 10:17 PM
time out session vreation
I want to configure TMOUT in rp4440 server ,I checked the /etc/profile file their I didnt get any option for TMOUT can any one tell whether i need to create user for TMOUT and whether I have to edit users(TMOUT) .profile or I have to edit /etc/profile if it is in /etc/profile where I have to edit
Also I want to set umask value that is also not available in /etc/profile so please inform where I to edit in /etc/profile
Regards
Vishal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2009 10:27 PM
тАО04-02-2009 10:27 PM
Re: time out session vreation
Put them anywhere above the "trap 1 2 3" line.
You don't need a user for TMOUT, just set the variable as you require. i.e
TMOUT=600;export TMOUT
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2009 10:30 PM
тАО04-02-2009 10:30 PM
Re: time out session vreation
and for umask set at /etc/profile for all user and root/.profile for root user.
# echo umask 07022 >> /etc/profile
# echo umask 07077 >> ~root/.profile
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2009 11:00 PM
тАО04-02-2009 11:00 PM
Re: time out session vreation
What exactly umask will do?Why we need to set ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 12:23 AM
тАО04-03-2009 12:23 AM
Re: time out session vreation
so it would be world readable and writable.
Hence for security, we set umask.
For ex. umask is 0022
So the default permissions with change to
For files:
666
022
----
644
for directories:
777
022
-----
755
-----
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 12:54 AM
тАО04-03-2009 12:54 AM
Re: time out session vreation
># echo umask 07077 >> ~root/.profile
These values are too big for umask, only 9 bits. It would also make more sense to edit the files rather than blindly adding to the end.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 01:07 AM
тАО04-03-2009 01:07 AM
Re: time out session vreation
As I mentioned TMOUT creation.I set TMOUT=300
export TMOUT
in /etc/pofile above the "trap 1 2 3" line.
but after 5min session is not closing itself nor its giving any message.So please suggest any thing else I have to edit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 01:10 AM
тАО04-03-2009 01:10 AM