README 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. pam_securetty — Limit root login to special devices
  2. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  3. DESCRIPTION
  4. pam_securetty is a PAM module that allows root logins only if the user is
  5. logging in on a "secure" tty, as defined by the listing in the securetty file.
  6. pam_securetty checks at first, if /etc/securetty exists. If not and it was
  7. built with vendordir support, it will use <vendordir>/securetty. pam_securetty
  8. also checks that the securetty files are plain files and not world writable. It
  9. will also allow root logins on the tty specified with console= switch on the
  10. kernel command line and on ttys from the /sys/class/tty/console/active.
  11. This module has no effect on non-root users and requires that the application
  12. fills in the PAM_TTY item correctly.
  13. For canonical usage, should be listed as a required authentication method
  14. before any sufficient authentication methods.
  15. OPTIONS
  16. debug
  17. Print debug information.
  18. noconsole
  19. Do not automatically allow root logins on the kernel console device, as
  20. specified on the kernel command line or by the sys file, if it is not also
  21. specified in the securetty file.
  22. EXAMPLES
  23. auth required pam_securetty.so
  24. auth required pam_unix.so
  25. AUTHOR
  26. pam_securetty was written by Elliot Lee <sopwith@cuc.edu>.