![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| whole day commands executed by particular user | naree | SUN Solaris | 1 | 03-05-2008 03:45 AM |
| I want to know whole day commands executed by particular user | naree | SUN Solaris | 3 | 03-04-2008 01:55 AM |
| Capture of all commands issued by the user “root” | elieifrah@gmail | UNIX for Advanced & Expert Users | 4 | 03-19-2007 07:55 AM |
| Capturing commands executed by user | bhaven.haria | UNIX for Advanced & Expert Users | 3 | 09-30-2006 06:46 AM |
| user executing priveleged commands | 30177005 | UNIX for Dummies Questions & Answers | 2 | 05-19-2004 09:23 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Capture user imput commands
Hi all,
I have a problem which needs to be solved soon because it affects auditing capabilities. There is an application id that has to be used by other users for the purpose of production support. The application user id uses C shell. We allow users to switch to the application user id based on a netgroup and allow them to work as the application id. But in order to enable auditing,at the end of a session - when the person logs out the session's history information is captured in a file and this is specified in the .logout file for the id. But here's where the problem comes in. When a session is improperly terminated,the session's history information is not captured. And when the session times out due to inactivity also the history information is not captured. Is there any way I could get the logs in the above two cases? Using the script command is not allowed in this case and we have to work with the login shell as csh only. Thanks. Saran |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
User input from .logout
I would suggest just relogging in with the same user id. That should result in the history commands being available as per the pre-logout state.
The second issue of the SHELL timing out is a curious one. I suggest resetting the environment "TMOUT" to zero "0". After you reset the TMOUT variable and export it the SHELL should no longer suffer through an unpredictable timeout. Good luck! |
|||
| Google The UNIX and Linux Forums |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|