vitalnix user management suite 3.2.0


Name

vxtryauth -- authenticate with PAM

Syntax

vxtryauth [-v]

Description

vxtryauth is a helper utility for programs and/or scripts which do not have intermediate access to the libvxdb C API, but still want to authenticate a user. vxtryauth accepts the username and password on standard input and the exit status contains the result of the authentication.

Options

-v Print error messages, should an error happen.

Exit status

0 is returned on success, 127 if there was a problem during option parsing, or any other value indicating the PAM error code. If the -v option is specified, additional error messages -- if any -- will be printed to the standard error file descriptor (stderr).