AUDIT_SETLOGINUID - Online Linux Manual Page
Section : 3
Updated : Oct 2006
Source : Red Hat
Note : Linux Audit API
NAMEaudit_setloginuid − Set a program's loginuid value
SYNOPSIS#include <libaudit.h> int audit_setloginuid(uid_t uid);
DESCRIPTIONThis function sets the task attribute loginuid with the value of uid. The loginuid value may only be set by programs with the CAP_AUDIT_CONTROL capability. This normally means the root account. The loginuid value is part of the task structure and is inheritted by child processes. It is used to track what account a user gained system access with. All system entry point programs should set this value right before changing to the uid of the user granted access so that audit events are properly attributed to the that user.
RETURN VALUEThis function returns 0 on success and non-zero otherwise.
SEE ALSOaudit_getloginuid(3), pam_loginuid(8).
AUTHORSteve Grubb 0
Johanes Gumabo
Data Size : 3,310 byte
man-audit_setloginuid.3Build : 2025-03-22, 13:26 :
Visitor Screen : x
Visitor Counter ( page / site ) : 57 / 4,679,220
Visitor ID : :
Visitor IP : 216.73.216.132 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 20 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 25.03.22
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.