README 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. pam_rootok — Gain only root access
  2. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  3. DESCRIPTION
  4. pam_rootok is a PAM module that authenticates the user if their UID is 0.
  5. Applications that are created setuid-root generally retain the UID of the user
  6. but run with the authority of an enhanced effective-UID. It is the real UID
  7. that is checked.
  8. OPTIONS
  9. debug
  10. Print debug information.
  11. EXAMPLES
  12. In the case of the su(1) application the historical usage is to permit the
  13. superuser to adopt the identity of a lesser user without the use of a password.
  14. To obtain this behavior with PAM the following pair of lines are needed for the
  15. corresponding entry in the /etc/pam.d/su configuration file:
  16. # su authentication. Root is granted access by default.
  17. auth sufficient pam_rootok.so
  18. auth required pam_unix.so
  19. AUTHOR
  20. pam_rootok was written by Andrew G. Morgan, <morgan@kernel.org>.