GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
OPENPAM_SET_FEATURE(3) FreeBSD 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);

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.

The openpam_set_feature() function returns one of the following values:
[PAM_SUCCESS]
Success.
[PAM_BAD_FEATURE]
Unrecognized or restricted feature.

openpam_get_feature(3), pam(3), pam_strerror(3)

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 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.