diff options
Diffstat (limited to 'doc/man/pam_sm_acct_mgmt.3')
-rw-r--r-- | doc/man/pam_sm_acct_mgmt.3 | 44 |
1 files changed, 27 insertions, 17 deletions
diff --git a/doc/man/pam_sm_acct_mgmt.3 b/doc/man/pam_sm_acct_mgmt.3 index c83e9abe..825a6d03 100644 --- a/doc/man/pam_sm_acct_mgmt.3 +++ b/doc/man/pam_sm_acct_mgmt.3 @@ -1,8 +1,11 @@ -.\" ** You probably do not want to edit this file directly ** -.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1). -.\" Instead of manually editing it, you probably should edit the DocBook XML -.\" source for it and then use the DocBook XSL Stylesheets to regenerate it. -.TH "PAM_SM_ACCT_MGMT" "3" "05/04/2006" "Linux\-PAM Manual" "Linux\-PAM Manual" +.\" Title: pam_sm_acct_mgmt +.\" Author: +.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/> +.\" Date: 06/02/2006 +.\" Manual: Linux\-PAM Manual +.\" Source: Linux\-PAM Manual +.\" +.TH "PAM_SM_ACCT_MGMT" "3" "06/02/2006" "Linux\-PAM Manual" "Linux\-PAM Manual" .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) @@ -11,13 +14,19 @@ pam_sm_acct_mgmt \- PAM service module for account management .SH "SYNOPSIS" .sp +.RS 3n .nf #define PAM_SM_ACCOUNT .fi -.PP -\fB#include <security/pam_modules.h>\fR +.RE +.sp +.ft B +.nf +#include <security/pam_modules.h> +.fi +.ft .HP 32 -\fBPAM_EXTERN\ int\ \fBpam_sm_acct_mgmt\fR\fR\fB(\fR\fBpam_handle_t\ *\fR\fB\fIpamh\fR\fR\fB, \fR\fBint\ \fR\fB\fIflags\fR\fR\fB, \fR\fBint\ \fR\fB\fIargc\fR\fR\fB, \fR\fBconst\ char\ **\fR\fB\fIargv\fR\fR\fB);\fR +.BI "PAM_EXTERN int pam_sm_acct_mgmt(pam_handle_t\ *" "pamh" ", int\ " "flags" ", int\ " "argc" ", const\ char\ **" "argv" ");" .SH "DESCRIPTION" .PP The @@ -30,38 +39,39 @@ This function performs the task of establishing whether the user is permitted to .PP Valid flags, which may be logically OR'd with \fIPAM_SILENT\fR, are: -.TP +.TP 3n PAM_SILENT Do not emit any messages. -.TP +.TP 3n PAM_DISALLOW_NULL_AUTHTOK Return -\fIPAM_AUTH_ERR\fR +\fBPAM_AUTH_ERR\fR if the database of authentication tokens for this authentication mechanism has a \fINULL\fR entry for the user .SH "RETURN VALUES" -.TP +.TP 3n PAM_ACCT_EXPIRED User account has expired. -.TP +.TP 3n PAM_AUTH_ERR Authentication failure. -.TP +.TP 3n PAM_NEW_AUTHTOK_REQD The user's authentication token has expired. Before calling this function again the application will arrange for a new one to be given. This will likely result in a call to \fBpam_sm_chauthtok()\fR. -.TP +.TP 3n PAM_PERM_DENIED Permission denied. -.TP +.TP 3n PAM_SUCCESS The authentication token was successfully updated. -.TP +.TP 3n PAM_USER_UNKNOWN User unknown to password service. .SH "SEE ALSO" .PP + \fBpam\fR(3), \fBpam_acct_mgmt\fR(3), \fBpam_sm_chauthtok\fR(3), |