Sets the key for the effective user number (UID) of the calling process.
C Library (libc.a)
key_setsecret (key) char *key;
The key_setsecret subroutine interfaces to the keyserv daemon, which is associated with the secure authentication system known as Data Encryption Standard (DES). This subroutine is used to set the key for the effective UID of the calling process. User programs rarely need to call this subroutine. System commands such as keylogin and the Remote Procedure Call (RPC) library are the main clients.
|key||Points to the key name.|
Upon successful completion, this subroutine returns a value of 0. If unsuccessful, it returns a value of -1.
This subroutine is part of Base Operating System (BOS) Runtime.
The keylogin command.
The keyserv daemon.
List of RPC Programming References.
Remote Procedure Call (RPC) Overview for Programming in AIX Version 4.3 Communications Programming Concepts.