Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

getaudid(2) [hpux man page]

getaudid(2)							System Calls Manual						       getaudid(2)

NAME
getaudid() - get the audit ID (aid) for the current process SYNOPSIS
Remarks This function is provided purely for backward compatibility. HP recommends that new applications use instead. See getauduser(3). DESCRIPTION
returns the audit ID (aid) for the current process. 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 ID is returned; otherwise, a is returned. ERRORS
fails if the following is true: The caller does not have the privilege. AUTHOR
was developed by HP. SEE ALSO
setaudid(2), getauduser(3), setauduser(3), privileges(5). TO BE OBSOLETED getaudid(2)

Check Out this Related Man Page

setevent(2)							System Calls Manual						       setevent(2)

NAME
setevent() - set current events and system calls which are to be 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
sets the events and system calls to be audited. The event and system call settings in the tables pointed to by a_syscall and a_event become the current settings. This call is restricted to the 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, returns 0; otherwise, it returns -1 and sets to indicate the error. ERRORS
fails if the following condition is encountered: The caller is not a user with the privilege. AUTHOR
was developed by HP. SEE ALSO
audevent(1M), getevent(2), privileges(5). TO BE OBSOLETED setevent(2)
Man Page

4 More Discussions You Might Find Interesting

1. Emergency UNIX and Linux Support

List of users on an AIX system

Is there a way to generate a list of users with name, user ID, and Security Group? It is urgent for audit purposes. Please help. (5 Replies)
Discussion started by: ggayathri
5 Replies

2. AIX

sudo - User privilege specification

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)
Discussion started by: Daniel Gate
9 Replies

3. Cybersecurity

sudo - AIX - User privilege specification

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)
Discussion started by: Daniel Gate
1 Replies

4. Emergency UNIX and Linux Support

Privilege ids list

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)
Discussion started by: ggayathri
3 Replies