Creates an authentication handle with operating system permissions.
C Library (libc.a)
AUTH *authunix_create (host, uid, gid, len, aupgids)
char * host;
int uid, gid;
int len, * aupgids;
The authunix_create subroutine creates and returns a Remote Procedure Call (RPC) authentication handle with operating system permissions.
|host||Points to the name of the machine on which the permissions were created.|
|uid||Specifies the caller's effective user ID (UID).|
|gid||Specifies the caller's effective group ID (GID).|
|len||Specifies the length of the groups array.|
|aupgids||Points to the counted array of groups to which the user belongs.|
This subroutine returns an RPC authentication handle.
This subroutine is part of Base Operating System (BOS) Runtime.
The authnone_create subroutine, authunix_create_default subroutine, svcerr_auth subroutine.
The auth_destroy macro.
List of RPC Programming References.
Remote Procedure Call (RPC) Overview for Programming in AIX 5L Version 5.1 Communications Programming Concepts.