![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Possible to track FTP user last login? Last and Finger don't track them. | LordJezo | UNIX for Dummies Questions & Answers | 1 | 11-08-2007 01:21 PM |
| Track user activity --pls help | anandtharani | UNIX for Advanced & Expert Users | 2 | 09-22-2006 04:38 AM |
| keep track of the last 10 commands the user typed | zhshqzyc | High Level Programming | 17 | 09-21-2006 10:27 AM |
| Track changes in files | rahulrathod | UNIX for Advanced & Expert Users | 1 | 12-08-2005 02:46 PM |
| 9-track dinosaur | ncmurf00 | HP-UX | 8 | 11-01-2002 12:29 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
dear all ,
I m new to shell programming and I need your help. Actually i want to keep track of all the commands executed in a bash prompt of users , very much in same manner as it is displayed when we run "history" command. now the users are smart enough as they delete their history by "history -c". I have read about auditing in linux but logs are very confusing and not very much in detailed for what was the argument that was passed with the command . Can anyone give me an idea of how to get the complete command history or how could i disable "history -c" so that i can keep track of the records of the users. my motive is to get the command exactly in same manner as it was executed E.g: -- Someone typed "rm -rf Impfile.txt" Then i need exactly the same syntax ----> "rm -rf Impfile.txt" to keep the track record . I have searched several forums all say that it is not possible to stop users from deleting their history . I have googled a lot for this but didn't find any satisfactory answer. I know there must be some solution to this that is why I am posting in this forum as many linux experts are on this forum. Thanx in Advance ![]() |
| Bookmarks |
| Tags |
| linux commands |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|