help using acct


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers help using acct
# 1  
Old 08-27-2002
Question help using acct

Hi everybody,

I'm Sun Solaris, I have problems on figuring out how i can start acct in unix. I understand how this accounting write in a file in /var/adm/wtmp. And with "acctcom -b " shows end part of all commands that were written in it. And "accton" shuts off this reporting. My question how Do I turn it on. There are so many types of accounting in unix. I just need it to report all users actions in the system with date and time. I don't need anything like cpu usage or block usage. Can anyone help??

Thanks Smilie

Peter

Smilie Smilie

Last edited by oombera; 02-18-2004 at 02:09 PM..
# 2  
Old 08-27-2002
"accton"
will turn accounting off

cd /var/adm
"accton pacct"
will start account to the pacct file.

But these are called by the "turnacct" script. And "turnacct" is called by "startup", and "shutacct". See "man acctsh". Those are the scripts that you should be using.
# 3  
Old 08-28-2002
Computer

Smilie Thanks
# 4  
Old 08-28-2002
Quote:
Originally posted by Perderabo
"accton"
will turn accounting off

cd /var/adm
"accton pacct"
will start account to the pacct file.

But these are called by the "turnacct" script. And "turnacct" is called by "startup", and "shutacct". See "man acctsh". Those are the scripts that you should be using.

it really makes ya want to start singing. and the knee bones connected to the thigh bone.....
 
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need help to run query in loop for all acct nbr in a file..

I have a txt file with contents of acct nbr's like: 22222222222 33333333333 33445566778 I need to write a script which takes each acct nbr in the file and run the query like: select seq_nbr from event where acct_nbr='22222222222' and the query's output should be passed to a... (2 Replies)
Discussion started by: Rajesh Putnala
2 Replies

2. Shell Programming and Scripting

Need help to run query in loop for all acct nbr in a file..

I have a txt file with contents of acct nbr's like: 22222222222 33333333333 33445566778 I need to write a script which takes each acct nbr in the file and run the query like: select seq_nbr from event where acct_nbr='22222222222' and the query's output should be passed to a... (0 Replies)
Discussion started by: Rajesh Putnala
0 Replies

3. Shell Programming and Scripting

Need help in writing a script that do internal grep on a log file..and extract acct no's from it..

I need to write a script, which takes the input a log file and create output file with acct no's line by line from selected records with text like (in red) : 18:51:18 | 217863|Acct 0110855565|RC 17608| 16 Subs| 1596 UsgRecs| 2 Secs| 430 CPUms| prmis2:26213 <MoveUsage d aemon needs to run... (7 Replies)
Discussion started by: rkrish
7 Replies

4. UNIX for Advanced & Expert Users

possible to lock accounts (passwd -l) and still allow acct to ssh to other server?

My scenario is as follows: We have a handful of batch accounts that run our production jobs. Our users are able to use sudo to become that account. Also, because of other reasons, the passwords are also listed in an encrypted file that each team can see their batch ID. So, I have some users... (5 Replies)
Discussion started by: cpolikowsky
5 Replies

5. UNIX for Dummies Questions & Answers

new pine user on pop3 acct

I recently started using unix in osx,and loving it! I am now wanting to use pine for email. I installed it using fink and besides it not being the most updated version, it seems to work fine, except that every message I erase seems to come back everytime I log in. It is a pop3 account. I have also... (0 Replies)
Discussion started by: larrinski
0 Replies

6. Solaris

user acct expiration

how can i tell on a solaris 9 if a user acct has an expiration date? and when that expuiration is. (6 Replies)
Discussion started by: BG_JrAdmin
6 Replies
Login or Register to Ask a Question