05-26-2017
Alternative to audusr command in standard mode
I need some help in finding which users have the audit setting turned on in the standard mode on a hpux OS 1131 from my application.
I am using audusr from the C code in trusted mode. Need help what to do in standard mode.
Last edited by einsteinBrain; 05-27-2017 at 11:39 AM..
Reason: mention the OS version
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
Is there a better alternative to sed command..
or any command as an alternate to sed.
Thanks!! (3 Replies)
Discussion started by: aixjadoo
3 Replies
2. HP-UX
I think that if the directory /tcb exists, HP-UX is in trusted mode and the passwd data is somewhere in /tcb/files/auth. But that's all I remember.
Also I think recent versions of HP-UX can have a /etc/shadow file. (0 Replies)
Discussion started by: Perderabo
0 Replies
3. UNIX for Dummies Questions & Answers
Hi friends,I am new to unix and this is really a dummy question.but please help me out.
How to simulate head command without using head command???
also tail command too,also more command.
it is given as a homework to do....please tell me how to do (2 Replies)
Discussion started by: nikhilneela
2 Replies
4. Shell Programming and Scripting
Hi all,
I am using linux box ...i dont find the manual entry of sar command through
man sar ...it is in unix not in linux although i have to check the cpu utilization and paging...any alternative of sar command..
Thanks
Vijay Sahu (1 Reply)
Discussion started by: vijays3
1 Replies
5. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
Ok, Im back with another small problem. I created a script (the one posted in the last thread). After some help from some members here all is good. The problem is I made it... (4 Replies)
Discussion started by: ozman911
4 Replies
6. AIX
hi,
I need alternative command for topas to check cpu %, i tried with ps but their is lot of diffference between the outputs of two commands...
Thanks (3 Replies)
Discussion started by: sumanthupar
3 Replies
7. Shell Programming and Scripting
Hi All,
I am trying to select 30 days older files under current directory ,but not from subdirectory using below command.
find <Dir> -type f -mtime + 30
This command selecting all the files from current directory and also from sub directory .
I read some documention through internet ,... (1 Reply)
Discussion started by: kommineni
1 Replies
8. HP-UX
is there a way for my C++ application to find out which mode the hpux OS is running in?
standard mode or trusted mode. (3 Replies)
Discussion started by: einsteinBrain
3 Replies
9. UNIX for Beginners Questions & Answers
Ubuntu, Bash 4.3.48
Hi,
I have 2 files and I want to join them (line by line if the start of the lines is the same, like a ID)
INPUT FILE 1 (tab delimited)
aa_12_12_v_c aaa,asf,afgas,eg
bb_12_43_a_d dad,ada,adaf,afa
cc_56_75_d_f asd,thh,ert,rtertet
INPUT FILE 2 (tab delimited)... (4 Replies)
Discussion started by: echo manolis
4 Replies
10. UNIX for Beginners Questions & Answers
Good Afternoon,
I'm backing up a folder from one NAS to another using a unix script using cp. Its a lot of files and takes several days to complete. Most of the files don't change from week to week. Is there a command that would be quicker?
Also note, the backup needs to be ready-to-use in... (5 Replies)
Discussion started by: Stellaman1977
5 Replies
audusr(1M) audusr(1M)
NAME
audusr - select users to audit
SYNOPSIS
user] ...] user] ...]
DESCRIPTION
is used to specify users to be audited or excluded from auditing. The command only works for systems that have been converted to trusted
mode.
To select users to audit on systems that have not been converted to trusted mode, use the command. See also audit(5), userdbset(1M),
userdb(4), and in security(4).
If no arguments are specified, displays the audit setting of every user. is restricted to privileged users.
Options
recognizes the following options:
Audit the specified
user. The auditing system records audit records to the ``current'' audit file when the specified user executes audited
events or system calls. Use to specify events to be audited (see audevent(1M)).
Do not audit the specified
user.
Audit all users.
Do not audit any users.
The and options are mutually exclusive: that is, if is specified, cannot be specified; if is specified, cannot be specified.
Users specified with are audited (or excluded from auditing) beginning with their next login session, until excluded from auditing (or
specified for auditing) with a subsequent invocation. Users already logged into the system when is invoked are unaffected during that
login session; however, any user who logs in after is invoked is audited or excluded from auditing accordingly.
WARNINGS
HP-UX 11i Version 3 is the last release to support trusted systems functionality.
AUTHOR
was developed by HP.
FILES
File containing flags to indicate whether users are audited.
SEE ALSO
audevent(1M), userdbset(1M), setaudproc(2), audswitch(2), audwrite(2), security(4), userdb(4), audit(5).
TO BE OBSOLETED audusr(1M)