Query: setauduser
OS: hpux
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
setauduser(3) Library Functions Manual setauduser(3)NAMEsetauduser - start auditing the current process as owned by a given userSYNOPSISDESCRIPTIONsets which uniquely identifies the user for the current process. The user argument points to the name of the login user associated with the current process, and must not exceed the longest user name that HP-UX supports. can be used to dynamically get the longest user name that HP-UX supports. The stime argument points to time of authentication in the format YYYYMMDDhhmm, Coordinated Universal Time (UTC). If stime is a null pointer, the UTC of the current time is used. Programs using this routine must be compiled with Security Restrictions This call requires the user to be superuser or to possess the privilege. See privileges(5) for details.RETURN VALUEreturns the following values: n Successful completion. n is the length of accepted by the kernel. Failure. is set to indicate the error.ERRORSIf fails, is set to one of the following values: user is NULL, or the length of user exceeds the longest user name that HP-UX supports. The length of stime is not equal to bytes. See The caller is not a superuser or a privileged process.AUTHORwas developed by HP.SEE ALSOgetaudid(2), setaudid(2), sysconf(2), getauduser(3), audit(5), privileges(5). setauduser(3)
Related Man Pages |
---|
stime(2) - centos |
getaudid(2) - hpux |
getaudproc(2) - hpux |
setaudproc(2) - hpux |
utime(2) - hpux |
Similar Topics in the Unix Linux Community |
---|
Find the length of the longest line |
PC-X connection |
User Logged In The Most - Bash |
Finding the length of the longest column |
Get first word only starting of a line |