Sponsored Content
Operating Systems Solaris Making a Log of user activity in Solaris 10 Post 302366439 by DukeNuke2 on Thursday 29th of October 2009 01:13:18 PM
Old 10-29-2009
what you want is called "auditing" in solaris... you'll find infos here:
Solaris Auditing (System Administration Guide: Security Services) - Sun Microsystems
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Force user to disconnect if no activity

Does anybody know how to force a user to automatically logoff a UNIX session if there is no keyboard activity for a period of time? We use COBOL and there is a BEFORE TIME option on the ACCEPT command, however, we do not want to change the many programs we have to detect this. What we really... (3 Replies)
Discussion started by: MarkN
3 Replies

2. UNIX for Advanced & Expert Users

Echoing remote user activity?

Hello, I administer a NetBSD (1.6.2) server that receives remote logins over telnet with users running Csh. I wish to be able to occasionally bring up exactly what these users are doing. Echoing their consoles to mine would be ideal, but I cannot find any information on how this would be... (1 Reply)
Discussion started by: dangerousbeans
1 Replies

3. UNIX for Dummies Questions & Answers

audit user activity - possible?

Hi, I have been asked if it is possible to track the last time a specific user logged in to the sysetm. checked my documentation but can't see it there - google is not being very helpful either. I wonder if someone here can help - it will be much appreciated. Thanks Suresh (1 Reply)
Discussion started by: sureshy
1 Replies

4. UNIX for Advanced & Expert Users

Track user activity --pls help

hi I want to know how to save all the command used by all the used under a particular root with the time stamp in a file. Eg: User Name: UX10 Time: 10:56 Command: LS User Name: UX23 Time: 10:59 Command: MORE abc.txt -Anand (2 Replies)
Discussion started by: anandtharani
2 Replies

5. Solaris

Monitoring all user keystroke activity

Hello, First post so bear with me....i've done lost of searches on this and did not find a definitive answer. I need to be able to capture in log every single keystroke a user performs, I am aware that the script command can be used to do this, however, here is my dilemma/problem. Here... (1 Reply)
Discussion started by: giles.cardew
1 Replies

6. Shell Programming and Scripting

SVN activity of certain user

Hi there, I'm looking for some help to get a little script done that shows me (or counts) only the added lines from an SVN repository of one specific user. Anybody has an idea? Thanks, Michael (0 Replies)
Discussion started by: MichaelGiese
0 Replies

7. UNIX for Dummies Questions & Answers

Commands to monitor other user's activity

What commands would you recommend in order to monitor things like when a user logs on to a server, assuming you know that user's name on the server? (2 Replies)
Discussion started by: Sotau
2 Replies

8. Shell Programming and Scripting

Audit user activity

Need some help in coming up to log all the activity that is used with our common "unix account". Ideally I am looking for to log the activity in a "separate" file for each session or login until the user logout, I would like to capture the date/time and terminal login and record all the ... (3 Replies)
Discussion started by: rajmanna
3 Replies

9. UNIX for Dummies Questions & Answers

How to track user activity?

Hi All Please can you help me with the following issue: A certain vendor installed an application in which for a user to log in; the user must use a user created/predefined by the application. And because this application has more than one user its difficult to track who did what and when,... (6 Replies)
Discussion started by: fretagi
6 Replies

10. UNIX for Advanced & Expert Users

Track activity of a user

Hi All We have a job which writes files to a server at a particular time. The files will be created by a particular user ID Today, during the execution of the job, it created a file to the server and the file sat on the server for sometime, but was deleted immediately at the end of the... (4 Replies)
Discussion started by: sparks
4 Replies
timex(1)						      General Commands Manual							  timex(1)

NAME
timex - time a command; report process data and system activity SYNOPSIS
command DESCRIPTION
reports in seconds the elapsed time, user time, and system time spent in execution of the given command. Optionally, process accounting data for command and all its children can be listed or summarized, and total system activity during the execution interval can be reported. The output of is written on the standard error. Timex returns an exit status of 1 if it is used incorrectly, if it is unable to fork, or if it could not exec command . Otherwise, timex returns the exit status of command. Options Report the total number of blocks read or written and total characters transferred by command and all its children. This option works only if the process accounting soft- ware is installed. List process accounting records for command and all its children. The suboptions and modify the data items reported. They behave as defined in acct- com(1M). The number of blocks read or written and the number of characters transferred are always reported. This option works only if the process accounting software is installed and has been invoked to create Report total system activity (not just that due to command) that occurred during the execution interval of command. All the data items listed in sar(1M) are reported. EXAMPLES
A simple example: A terminal session of arbitrary complexity can be measured by timing a sub-shell: session commands EOT WARNINGS
Process records associated with command are selected from the accounting file by inference, since process genealogy is not available. Background processes having the same user-ID, terminal-ID, and execution time window are spuriously included. SEE ALSO
sar(1M), acctcom(1M). STANDARDS CONFORMANCE
timex(1)
All times are GMT -4. The time now is 08:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy