setauduser man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

setauduser(3)							 setauduser(3)

NAME
       setauduser  -  start  auditing  the current process as owned by a given
       user

SYNOPSIS

DESCRIPTION
       sets 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	privi‐
       lege.  See privileges(5) for details.

RETURN VALUE
       returns the following values:

	       n     Successful	 completion.   n  is the length of accepted by
		     the kernel.

	      Failure.
		     is set to indicate the error.

ERRORS
       If fails, is set to one of the following values:

	      user	     is NULL, or the length of user exceeds the	 long‐
			     est 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.

AUTHOR
       was developed by HP.

SEE ALSO
       getaudid(2),  setaudid(2),  sysconf(2), getauduser(3), audit(5), privi‐
       leges(5).

								 setauduser(3)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net