README 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. pam_localuser — require users to be listed in /etc/passwd
  2. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  3. DESCRIPTION
  4. pam_localuser is a PAM module to help implementing site-wide login policies,
  5. where they typically include a subset of the network's users and a few accounts
  6. that are local to a particular workstation. Using pam_localuser and pam_wheel
  7. or pam_listfile is an effective way to restrict access to either local users
  8. and/or a subset of the network's users.
  9. This could also be implemented using pam_listfile.so and a very short awk
  10. script invoked by cron, but it's common enough to have been separated out.
  11. OPTIONS
  12. debug
  13. Print debug information.
  14. file=/path/passwd
  15. Use a file other than /etc/passwd.
  16. EXAMPLES
  17. Add the following lines to /etc/pam.d/su to allow only local users or group
  18. wheel to use su.
  19. account sufficient pam_localuser.so
  20. account required pam_wheel.so
  21. AUTHOR
  22. pam_localuser was written by Nalin Dahyabhai <nalin@redhat.com>.