lsauthent Command

Purpose

Lists the authentication methods currently configured on the system.

Syntax

lsauthent

Description

The lsauthent command calls the get_auth_method subroutine in the libauthm.a library, translates a list of authentication methods returned, and prints the authentication methods configured to stdout. Each authentication method is outputted on a separate line.

The authentication methods are listed in the order in which they are configured. If none of the authentication methods are configured, lsauthent returns without printing anything.

The lsauthent command writes an error message to stderr and returns a -1 if get_auth_method fails.

Examples

If all of the authentication methods are configured as:

lsauthent
the output would consist of:
Kerberos 5
Kerberos 4
Standard AIX