getevent(2) System Calls Manual getevent(2)NAME
getevent() - get events and system calls that are currently being audited
SYNOPSIS
Remarks
This function is provided purely for backward compatibility. HP recommends that new applications use the command to get events and system
calls that are currently being audited. See audevent(1M).
DESCRIPTION
gets the events and system calls being audited. The events are returned in a table pointed to by a_event. The system calls are returned
in a table pointed to by a_syscall. This call is restricted to users with the privilege.
Security Restrictions
Some or all of the actions associated with this system call require the privilege. Processes owned by the superuser have this privilege.
Processes owned by other users may have this privilege, depending on system configuration. See privileges(5) for more information about
privileged access on systems that support fine-grained privileges.
RETURN VALUE
Upon successful completion, a value of 0 is returned; otherwise, a -1 is returned and is set to indicate the error.
ERRORS
fails if the following is true:
The caller does not have the
privilege.
AUTHOR
was developed by HP.
SEE ALSO audevent(1M), setevent(2), privileges(5).
TO BE OBSOLETED getevent(2)
Check Out this Related Man Page
getaudproc(2) System Calls Manual getaudproc(2)NAME
getaudproc() - get the audit process flag for the calling process
SYNOPSIS DESCRIPTION
returns the audit process flag for the calling process. The audit process flag (u_audproc) determines whether the process run by a given
user should be audited. The process is audited if the returned flag is 1. If the returned flag is 0, the process is not audited. This
call is restricted to users with the privilege.
Security Restrictions
Some or all of the actions associated with this system call require the privilege. Processes owned by the superuser have this privilege.
Processes owned by other users may have this privilege, depending on system configuration. See privileges(5) for more information about
privileged access on systems that support fine-grained privileges.
RETURN VALUE
Upon successful completion, the audit process flag is returned; otherwise, a is returned and is set to indicate the error.
ERRORS
fails if the following is true:
The caller does not have the
privilege.
AUTHOR
was developed by HP.
SEE ALSO setaudproc(2), privileges(5).
getaudproc(2)
My question is:
i have a script called getevent
to run i just call ./getevent
can i convert this to make it binary executable and not letting my clients open it and see the code.??:(
I am using Solaris 8. (3 Replies)
I am trying to find out if there are any recommendations regarding what events/system calls should be audited as a starting point. I am new to the auditing side of things and am not really to sure what best to log - any ideas or know of any resources which make recommendations in this respect ??? (1 Reply)
Hi all,
The configuration:
We are useing a HP-UX Server with vxfs File System. The files on this server have normally a umask of 022 (owned by a administrative account) users who have write access to certain files get custom ACL entries that add these rights for the specific user.
Now a... (0 Replies)
I am planning to implement sudo for users.
Under , it looks I have to put the users who need to have sudo access:
What are the recommended for users? I don't think I need to give the ALL privilege (i.e ) to AIX users.
I'd like to know the commonly used privilege specification for sudo... (9 Replies)
I am planning to implement sudo for users.
Under , it looks I have to put the users who need to have sudo access:
What are the recommended for users? I don't think I need to give the ALL privilege (i.e ) to AIX users.
I'd like to know the commonly used privilege specification for sudo... (1 Reply)
I would like to capture the list of all users that belong to the "system" group. Or in other words all those who have privilege access on the system. Can someone please help me with a shell script/sed/awk code to obtain this please. (3 Replies)