README 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. pam_rhosts — The rhosts PAM module
  2. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  3. DESCRIPTION
  4. This module performs the standard network authentication for services, as used
  5. by traditional implementations of rlogin and rsh etc.
  6. The authentication mechanism of this module is based on the contents of two
  7. files; /etc/hosts.equiv (or and ~/.rhosts. Firstly, hosts listed in the former
  8. file are treated as equivalent to the localhost. Secondly, entries in the
  9. user's own copy of the latter file is used to map "remote-host remote-user"
  10. pairs to that user's account on the current host. Access is granted to the user
  11. if their host is present in /etc/hosts.equiv and their remote account is
  12. identical to their local one, or if their remote account has an entry in their
  13. personal configuration file.
  14. The module authenticates a remote user (internally specified by the item
  15. PAM_RUSER connecting from the remote host (internally specified by the item
  16. PAM_RHOST). Accordingly, for applications to be compatible this authentication
  17. module they must set these items prior to calling pam_authenticate(). The
  18. module is not capable of independently probing the network connection for such
  19. information.
  20. OPTIONS
  21. debug
  22. Print debug information.
  23. silent
  24. Don't print informative messages.
  25. superuser=account
  26. Handle account as root.
  27. EXAMPLES
  28. To grant a remote user access by /etc/hosts.equiv or .rhosts for rsh add the
  29. following lines to /etc/pam.d/rsh:
  30. #%PAM-1.0
  31. #
  32. auth required pam_rhosts.so
  33. auth required pam_nologin.so
  34. auth required pam_env.so
  35. auth required pam_unix.so
  36. AUTHOR
  37. pam_rhosts was written by Thorsten Kukuk <kukuk@thkukuk.de>