path: root/modules/pam_sepermit/pam_sepermit.8
diff options
authorSteve Langasek <>2019-01-03 16:26:05 -0800
committerSteve Langasek <>2019-01-03 17:26:38 -0800
commit9c52e721044e7501c3d4567b36d222dc7326224a (patch)
tree9011790770130c60a712a6f125ad50d60e07cc74 /modules/pam_sepermit/pam_sepermit.8
parent9727ff2a3fa0e94a42b34a579027bacf4146d571 (diff)
parent186ff16e8d12ff15d518000c17f115ccab5275a4 (diff)
New upstream version 1.0.1
Diffstat (limited to 'modules/pam_sepermit/pam_sepermit.8')
1 files changed, 110 insertions, 0 deletions
diff --git a/modules/pam_sepermit/pam_sepermit.8 b/modules/pam_sepermit/pam_sepermit.8
new file mode 100644
index 00000000..40486668
--- /dev/null
+++ b/modules/pam_sepermit/pam_sepermit.8
@@ -0,0 +1,110 @@
+.\" Title: pam_sepermit
+.\" Author:
+.\" Generator: DocBook XSL Stylesheets v1.73.1 <>
+.\" Date: 04/16/2008
+.\" Manual: Linux-PAM Manual
+.\" Source: Linux-PAM Manual
+.TH "PAM_SEPERMIT" "8" "04/16/2008" "Linux-PAM Manual" "Linux\-PAM Manual"
+.\" disable hyphenation
+.\" disable justification (adjust text to left margin only) l
+pam_sepermit - PAM module to allow/deny login depending on SELinux enforcement state
+.HP 16
+\fBpam_sepermit\.so\fR [debug] [conf=\fI/path/to/config/file\fR]
+The pam_sepermit module allows or denies login depending on SELinux enforcement state\.
+When the user which is logging in matches an entry in the config file he is allowed access only when the SELinux is in enforcing mode\. Otherwise he is denied access\. For users not matching any entry in the config file the pam_sepermit module returns PAM_IGNORE return value\.
+The config file contains a simple list of user names one per line\. If the
+is prefixed with
+character it means that all users in the group
+match\. If it is prefixed with a
+character the SELinux user is used to match against the
+instead of the account name\. Note that when SELinux is disabled the SELinux user assigned to the account cannot be determined\. This means that such entries are never matched when SELinux is disabled and pam_sepermit will return PAM_IGNORE\.
+Each user name in the configuration file can have optional arguments separated by
+character\. The only currently recognized argument is
+\fIexclusive\fR\. The pam_sepermit module will allow only single concurrent user session for the user with this argument specified and it will attempt to kill all processes of the user after logout\.
+.RS 4
+Turns on debugging via
+.RS 4
+Path to alternative config file overriding the default\.
+Only the
+services are supported\.
+.RS 4
+SELinux is disabled or in the permissive mode and the user matches\.
+.RS 4
+SELinux is in the enforcing mode and the user matches\.
+.RS 4
+The user does not match any entry in the config file\.
+.RS 4
+The module was unable to determine the user\'s name\.
+.RS 4
+Error during reading or parsing the config file\.
+.RS 4
+Default configuration file
+.RS 4
+auth [success=done ignore=ignore default=bad] pam_sepermit\.so
+auth required pam_unix\.so
+account required pam_unix\.so
+session required pam_permit\.so
+pam_sepermit was written by Tomas Mraz <tmraz@redhat\.com>\.