Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
OPENPAM_SET_FEATURE(3)	 BSD Library Functions Manual	OPENPAM_SET_FEATURE(3)

NAME
     openpam_set_feature -- enable or disable an optional feature

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	fea-
     ture 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_SUCCESS]	 Success.

     [PAM_BAD_FEATURE]	 Unrecognized or restricted feature.

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				April 30, 2017				   BSD

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUES | SEE ALSO | STANDARDS | AUTHORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=openpam_set_feature&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help