OPENPAM_SET_FEATURE(3) | MidnightBSD Library Functions Manual | OPENPAM_SET_FEATURE(3) |
openpam_set_feature
—
enable or disable an optional feature
#include
<sys/types.h>
#include <security/pam_appl.h>
#include
<security/openpam.h>
int
openpam_set_feature
(int
feature, int
onoff);
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.
The openpam_set_feature
() function returns
one of the following values:
PAM_SUCCESS
]PAM_BAD_FEATURE
]The openpam_set_feature
() function is an
OpenPAM extension.
The openpam_set_feature
() function and
this manual page were developed by Dag-Erling
Smørgrav
<des@des.no>.
February 24, 2019 | midnightbsd-3.1 |