![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| AIX audit users activity | daveisme | AIX | 9 | 04-08-2008 01:32 PM |
| Logging all console activity to a file - how? | patwa | UNIX for Dummies Questions & Answers | 4 | 06-13-2007 07:09 PM |
| ssh not logging users | ranj@chn | UNIX for Advanced & Expert Users | 2 | 05-06-2007 09:49 PM |
| Logging off users | outtacontrol | AIX | 1 | 02-09-2007 06:39 AM |
| Commands for review users activity | DigitalExecutiv | SCO | 1 | 03-03-2005 01:36 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello All!
Does anyone know of a nice way to log commands in solaris 8. What I need is a program or script that saves any command that a user does in solaris command prompt. So when Steven logs in on a system, it should record everything he does, from an ls to exit with timestamps. I’ve been looking at sudo and from what I can se the user needs to use the sudo command to make it log his or her commands, and I really need this to be invincible for the user. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Does Solaris not have a ~/.history file?
|
|
#4
|
|||
|
|||
|
The problem with these two are when you are changing shell
och using bash. Then it dosent log anymore. So i can see everything until the user change to another shell than default. dOzY |
|
#5
|
||||
|
||||
|
Hmm... lastcomm is a command that, when run by the superuser (i.e. root), displays commands run by users regardless of which shell they're using (as long as accounting is enabled). As I say, this will only work if you're root. If you're not root, then you shouldn't be looking at what other people are doing anyway.
Cheers ZB |
|
#6
|
|||
|
|||
|
Hmm...ok i see your point. But here is the deal. We are a couple of administrators that have root permisson, but we need to log everything that we do. From the first login as normal user untill we logoff as root. The reason is SOX or SUX as i like to call it. SOX requires that everything is logged. So if anything happes we can show a list that shows everything that we did in the system.
|
|
#7
|
|||
|
|||
|
You might need to write a new program to do this for you; but before doing so head over to sourceforge.net and see if they have a logger that might work.
I can definatly understand your need for such a program. In the meantime I'm going to toy around with some commands and see what I can come up with. -Seg |
|||
| Google The UNIX and Linux Forums |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|