Visit The New, Modern Unix Linux Community


Keeping an eye on all user activities


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Keeping an eye on all user activities
# 1  
Network Keeping an eye on all user activities

I am responsible for administering 6 Tru64UX servers.

I need to keep an eye on all the commands executed by all the users.

Is there a way where I can save the commands executed in a seperate folder and then keep checking the list every now and then.

How can do it ?
# 2  
You can use lastcomm

I used that command to track my users on AIX RS6000 Server

http://btrcx1.cip.uni-bayreuth.de/cg...ges/lastcomm/8

it outputs information about all previously executed commands that are recorded in the /var/adm/pacct file in reverse chronological order.
# 3  
Data

My pacct file is empty.

how do I ensure that the file is populated
# 4  
start the accounting proccesses.

for a howto for aix look for the following red book on ibm website.
SG24-6020-00

the title is "Auditing and Accounting on AIX"
# 5  
For Tru64, try the Auditing the system documentation (section 3 in the link).
# 6  
History is a great way to take a look at what people are doing. Should they require root access, use sudo, and enable verbose logging. To show what files are open, try losf. And from the ole' command line, w works like a champ.

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #593
Difficulty: Medium
C is a statically typed language so variables must be declared along with their types before using them.
True or False?

7 More Discussions You Might Find Interesting

1. AIX

EYE function

Hello, could someone tell me if there's a function as on SOLARIS : EYE, to identify the function of server. Thank you, (4 Replies)
Discussion started by: rimob
4 Replies

2. SuSE

How do I make activities appear in SYSLOG file?

SUSE Linux 11 and 10 SP3. I am trying to capture some of my activities in SYSLOG file, /var/log/messages. To do this I created and dropped some test files and directories and users. But these activities are not captured in /var/log/messages. What should I do to make these activities... (7 Replies)
Discussion started by: JDBA
7 Replies

3. Solaris

SYSLOGS - Where can I find FTP activities

Greetings to all. I need help from the experts. I have been given a FTP server script that runs all day, looking for files that are FTP'd to our machines. Its hoaky I know, but there are times that files are sent but somehow get lost. Is there a logfile I can view to see when files are received? ... (1 Reply)
Discussion started by: Harleyrci
1 Replies

4. Red Hat

RPM Updation & Keeping User Change files during removal

Hi All, I have a RPM for an Java based application. Currently it works fine. But recently I want to implement that when newer packages gets installed over the older one, the rpm should only update the older files with the newer one (I know this could be done by rpm -Uvh xxx.rpm), but it... (0 Replies)
Discussion started by: jw_amp
0 Replies

5. Shell Programming and Scripting

Need for loop to do 2 activities

I need my for loop to do 2 things at a time. I have a script where I move the old files into archive directory and then i want to compress them. Presently I am using 2 for loops for it. How can i do it in 1 for loop. Code: after this i am compresing them in another for loop: (3 Replies)
Discussion started by: dsravan
3 Replies

6. Shell Programming and Scripting

patterns from logs and activities

hi, i need help writing shell scripts to define patterns of user activities on our apache. i thought about going through logfiles and other places where user activities are stored and use that data to define patterns of action. i want these patterns to be visualized then. now my... (3 Replies)
Discussion started by: rocketkids
3 Replies

7. UNIX for Advanced & Expert Users

Tracking activities of Users using a particular login.

Hi!! Experts, I have a typical scenario here in which several users have access to a particular login .. say "build". None of the users know the passwd for this login. The name of some of the user have been to .rhosts file. The users can connect only by doing a rlogin to this id and then... (4 Replies)
Discussion started by: jyotipg
4 Replies

Featured Tech Videos