summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2006-06-18 16:15:09 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2006-06-18 16:15:09 +0000
commit398000908bf00d06dc32ef4b605e3f437fdc6744 (patch)
tree6e69022ad9e20ca405650f2a731446100eccd592 /modules
parentfa6ee52f9eed1bb6e6cc6d43491996096d3533c3 (diff)
Relevant BUGIDs:
Purpose of commit: bugfix Commit summary: --------------- Regenerate with correct example section.
Diffstat (limited to 'modules')
-rw-r--r--modules/pam_selinux/README9
-rw-r--r--modules/pam_selinux/pam_selinux.89
2 files changed, 6 insertions, 12 deletions
diff --git a/modules/pam_selinux/README b/modules/pam_selinux/README
index 13eba8af..4268d3fb 100644
--- a/modules/pam_selinux/README
+++ b/modules/pam_selinux/README
@@ -50,12 +50,9 @@ verbose
EXAMPLES
-auth requisite pam_permit.so
-auth [success=2 default=ok] pam_selinux.so auth=perm_denied cred=success
-auth [default=reset] pam_selinux.so auth=success cred=perm_denied
-auth [success=done default=die] pam_selinux.so
-auth optional pam_selinux.so auth=perm_denied cred=perm_denied
-auth sufficient pam_selinux.so auth=success cred=success
+auth required pam_unix.so
+session required pam_permit.so
+session optional pam_selinux.so
AUTHOR
diff --git a/modules/pam_selinux/pam_selinux.8 b/modules/pam_selinux/pam_selinux.8
index 70ffbecf..f44fc684 100644
--- a/modules/pam_selinux/pam_selinux.8
+++ b/modules/pam_selinux/pam_selinux.8
@@ -61,12 +61,9 @@ The user is not known to the system.
.sp
.RS 3n
.nf
-auth requisite pam_permit.so
-auth [success=2 default=ok] pam_selinux.so auth=perm_denied cred=success
-auth [default=reset] pam_selinux.so auth=success cred=perm_denied
-auth [success=done default=die] pam_selinux.so
-auth optional pam_selinux.so auth=perm_denied cred=perm_denied
-auth sufficient pam_selinux.so auth=success cred=success
+auth required pam_unix.so
+session required pam_permit.so
+session optional pam_selinux.so
.fi
.RE