openpam_set_feature(3) freebsd man page | unix.com

Man Page: openpam_set_feature

Operating Environment: freebsd

Section: 3

OPENPAM_SET_FEATURE(3)					   BSD Library Functions Manual 				    OPENPAM_SET_FEATURE(3)

NAME
openpam_set_feature -- enable or disable an optional feature
LIBRARY
Pluggable Authentication Module Library (libpam, -lpam)
SYNOPSIS
#include <sys/types.h> #include <security/pam_appl.h> #include <security/openpam.h> int openpam_set_feature(int feature, int onoff);
DESCRIPTION
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 VALUES
The openpam_set_feature() function returns one of the following values: [PAM_SYMBOL_ERR] Invalid symbol.
SEE ALSO
openpam_get_feature(3), pam(3), pam_strerror(3)
STANDARDS
The openpam_set_feature() function is an OpenPAM extension.
AUTHORS
The openpam_set_feature() function and this manual page were developed by Dag-Erling Smorgrav <des@des.no>.
BSD
September 12, 2014 BSD
Related Man Pages
openpam_restore_cred(3) - freebsd
pam_set_item(3) - freebsd
openpam_free_data(3) - freebsd
pam_setenv(3) - freebsd
pam_verror(3) - freebsd
Similar Topics in the Unix Linux Community
Scripts without shebang
A simple UNIXtime component in Vue.js
Reason for no directory creation date
Valid separator in time and date format
Controlling user input