README 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. pam_sepermit — PAM module to allow/deny login depending on SELinux enforcement
  2. state
  3. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  4. DESCRIPTION
  5. The pam_sepermit module allows or denies login depending on SELinux enforcement
  6. state.
  7. When the user which is logging in matches an entry in the config file he is
  8. allowed access only when the SELinux is in enforcing mode. Otherwise he is
  9. denied access. For users not matching any entry in the config file the
  10. pam_sepermit module returns PAM_IGNORE return value.
  11. The config file contains a list of user names one per line with optional
  12. arguments. If the name is prefixed with @ character it means that all users in
  13. the group name match. If it is prefixed with a % character the SELinux user is
  14. used to match against the name instead of the account name. Note that when
  15. SELinux is disabled the SELinux user assigned to the account cannot be
  16. determined. This means that such entries are never matched when SELinux is
  17. disabled and pam_sepermit will return PAM_IGNORE.
  18. See sepermit.conf(5) for details.
  19. OPTIONS
  20. debug
  21. Turns on debugging via syslog(3).
  22. conf=/path/to/config/file
  23. Path to alternative config file overriding the default.
  24. EXAMPLES
  25. auth [success=done ignore=ignore default=bad] pam_sepermit.so
  26. auth required pam_unix.so
  27. account required pam_unix.so
  28. session required pam_permit.so
  29. AUTHOR
  30. pam_sepermit and this manual page were written by Tomas Mraz
  31. <tmraz@redhat.com>.