|OPENPAM_SET_FEATURE(3)||FreeBSD Library Functions Manual||OPENPAM_SET_FEATURE(3)|
NAMEopenpam_set_feature — enable or disable an optional feature
LIBRARYPluggable Authentication Module Library (libpam, -lpam)
SYNOPSIS#include < sys/types.h>
#include < security/pam_appl.h>
#include < security/openpam.h>
openpam_set_feature( int feature, int onoff);
This function is experimental and may be modified or removed in a future release without prior warning.
The openpam_set_feature() function sets the state of the specified feature to the value specified by the onoff argument. See openpam_get_feature(3) for a list of recognized features.
RETURN VALUESThe openpam_set_feature() function returns one of the following values:
- [ PAM_SYMBOL_ERR]
- Invalid symbol.
STANDARDSThe openpam_set_feature() function is an OpenPAM extension.
AUTHORSThe openpam_set_feature() function and this manual page were developed by <email@example.com>.
|September 12, 2014||FreeBSD|