![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| tail -f | wannalearn | Shell Programming and Scripting | 4 | 04-10-2007 06:22 PM |
| Tail?? | qfwfq | Shell Programming and Scripting | 7 | 06-19-2006 02:15 AM |
| how to sed with tail | redlotus72 | UNIX for Dummies Questions & Answers | 1 | 08-30-2005 06:27 AM |
| Output from tail to a user | ifan | UNIX for Dummies Questions & Answers | 3 | 06-30-2003 12:50 PM |
| using tail -f | cdunavent | Shell Programming and Scripting | 6 | 10-23-2002 06:10 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Tail User
Ok i looked through quite a few posts but could not find what i was looking for so forgive me if this post can be found elese where...
I would like to use a command like tail view what users are doing in the system i have quite a few dba's that come come to my office and do work on the system and i would like to see exactly what they are doing, and if at all posible dump everything to a log so that if they are doing somthing that they should not be doing i will be able to find out, somthing that would go into so much detail that you would be able to see what command that they execute.... Would be so much help i might be able to point the finger at the correct person... Thanks in advance |
|
||||
|
Here's a thought, which will work the best if you have root access.
You could check the .sh_history file under the user's home directory as to what was happening with that account in the shell recently. This type of logging is present on our AIX, PTX, and HP-UX systems, but I'm not sure if it's a feature with all unix flavors. I'm not positive, but I think there are ways to retain more or less days worth of history in that file. Hope this helps... |
|
||||
|
Tail user
well i found this file in user's home directory
/home/%username% .sh_history In any case i would do the following more /home/%username%/.sh_history or cd /home/%username% more .sh_history and its .sh_history not sh_history |
|
||||
|
Thanks
Oh and i just wanted to let everyone know i am thankfull that i can give the answer to my own post, and i owe that thanks to THEKID, AND SHIBZ... and to everyone that has ever come up with and answer to a question on this forum...
BB |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|