summaryrefslogtreecommitdiff
path: root/modules/pam_deny/pam_deny.8
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_deny/pam_deny.8')
-rw-r--r--modules/pam_deny/pam_deny.882
1 files changed, 82 insertions, 0 deletions
diff --git a/modules/pam_deny/pam_deny.8 b/modules/pam_deny/pam_deny.8
new file mode 100644
index 00000000..a9ae410a
--- /dev/null
+++ b/modules/pam_deny/pam_deny.8
@@ -0,0 +1,82 @@
+.\" Title: pam_deny
+.\" Author:
+.\" Generator: DocBook XSL Stylesheets v1.73.1 <http://docbook.sf.net/>
+.\" Date: 04/16/2008
+.\" Manual: Linux-PAM Manual
+.\" Source: Linux-PAM Manual
+.\"
+.TH "PAM_DENY" "8" "04/16/2008" "Linux-PAM Manual" "Linux\-PAM Manual"
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.SH "NAME"
+pam_deny - The locking-out PAM module
+.SH "SYNOPSIS"
+.HP 12
+\fBpam_deny\.so\fR
+.SH "DESCRIPTION"
+.PP
+This module can be used to deny access\. It always indicates a failure to the application through the PAM framework\. It might be suitable for using for default (the
+\fIOTHER\fR) entries\.
+.SH "OPTIONS"
+.PP
+This module does not recognise any options\.
+.SH "MODULE SERVICES PROVIDED"
+.PP
+All services (\fBaccount\fR,
+\fBauth\fR,
+\fBpassword\fR
+and
+\fBsession\fR) are supported\.
+.SH "RETURN VALUES"
+.PP
+.PP
+PAM_AUTH_ERR
+.RS 4
+This is returned by the account and auth services\.
+.RE
+.PP
+PAM_CRED_ERR
+.RS 4
+This is returned by the setcred function\.
+.RE
+.PP
+PAM_AUTHTOK_ERR
+.RS 4
+This is returned by the password service\.
+.RE
+.PP
+PAM_SESSION_ERR
+.RS 4
+This is returned by the session service\.
+.RE
+.SH "EXAMPLES"
+.sp
+.RS 4
+.nf
+#%PAM\-1\.0
+#
+# If we don\'t have config entries for a service, the
+# OTHER entries are used\. To be secure, warn and deny
+# access to everything\.
+other auth required pam_warn\.so
+other auth required pam_deny\.so
+other account required pam_warn\.so
+other account required pam_deny\.so
+other password required pam_warn\.so
+other password required pam_deny\.so
+other session required pam_warn\.so
+other session required pam_deny\.so
+
+.fi
+.RE
+.SH "SEE ALSO"
+.PP
+
+\fBpam.conf\fR(5),
+\fBpam.d\fR(8),
+\fBpam\fR(8)
+.SH "AUTHOR"
+.PP
+pam_deny was written by Andrew G\. Morgan <morgan@kernel\.org>