|
|
|
Logging Out Inactive Users Automatically
|
By Sachin Kulkarni Mar 21, 2007
|
digg!
Print
Email to Friend
Note: This article was written for educational purpose only. Please refer to the related vendor documentation for detail.
|
|
|
|
Logging Out Inactive Users Automatically:
In a multiuser environment, many times users log in to the system and forget to
log out(or involved with another work, keeping current
login active). This is serious from two aspects: security & system load.
To resolve the matter use the timeout facility as below:
1) create a file "secure.sh", in "/etc/profile.d" directory, which will contain
the statement that will automatically log out the user after certain time of
inactivity.
2) The file "secure.sh" will contain a single line as:
TMOUT=600
which means, logout after 600 seconds(i.e. after 10 min. of inactivity).
3) Make the file executable by:
$ chmod ugo+x /etc/profile.d/secure.sh
|
Comments/Reviews on this article: |
Vaibhav mittal Jan 24, 2008 |
Hay Sachin,
Would you make it more clear at windows plateform.
Where I have to place secure.sh file. IS it be placed in oracle folder
or any subfolder and how can i make it executable.I think chmod is a Unix command but how on windows.Please help me out. |
Ferhat Ozturk May 26, 2008 |
what about on windows? |
Sachin Kulkarni May 28, 2008 |
Hi Friends,
I am working on unix/linux-oracle platform.
so I have done this research on linux, not much aware about win-oracle platform; but, as far as my knowledge, u have to put the file in user's home directory; so u have to search for user's file on os(ie. windows) which saves user setting in it....
bye.. |
|
About author:
I am Sachin. Done post-graduation in MCA... Working as programmer in Kinetic Eng. Ltd. since last 2.6 yr.
|
|
| Our Premium Sponsor |
|
|
|