Returns the list of authentication methods for the secure rcmds.
Authentication Methods Library (libauthm.a)
int get_auth_method (uint ** authm)
This method returns the authentication methods currently configured in the order in which they should be attempted in the unsigned integer pointer the user passed in.
The list in the unsigned integer pointer is either NULL (on an error) or is an array of unsigned integers terminated by a zero. Each integer identifies an authentication method. The order that a client should attempt to authenticate is defined by the order of the list.
Note: the calling routine is responsible for freeing the memory in which the list is contained.
The flags identifying the authentication methods are defined in the /usr/include/authm.h file.
|authm||Points to an array of unsigned integers. The list of authentication methods is returned in the zero terminated list.|
Upon successful completion, the get_auth_method subroutine returns a zero.
Upon unsuccessful completion, the get_auth_method subroutine returns an errno.
The chauthent command, ftp command, lsauthent command, rcp command, rlogin command, rsh command, telnet, tn, or tn3270 command.
The set_auth_method subroutine.
Network Overview in AIX Version 4.3 System Management Guide: Communications and Networks.
Secure Rcmds in AIX Version 4.3 System User's Guide: Communications and Networks.