1 .\" Generated from openpam_set_feature.c by gendoc.pl
2 .\" $OpenPAM: openpam_set_feature.c 938 2017-04-30 21:34:42Z des $
4 .Dt OPENPAM_SET_FEATURE 3
7 .Nm openpam_set_feature
8 .Nd enable or disable an optional feature
11 .In security/pam_appl.h
12 .In security/openpam.h
14 .Fn openpam_set_feature "int feature" "int onoff"
17 This function is experimental and may be modified or removed in a future release without prior warning.
21 .Fn openpam_set_feature
22 function sets the state of the specified
23 feature to the value specified by the
27 .Xr openpam_get_feature 3
28 for a list of recognized features.
32 .Fn openpam_set_feature
33 function returns one of the following values:
37 .It Bq Er PAM_BAD_FEATURE
38 Unrecognized or restricted feature.
41 .Xr openpam_get_feature 3 ,
46 .Fn openpam_set_feature
47 function is an OpenPAM extension.
50 .Fn openpam_set_feature
51 function and this manual page were
53 .An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .