|
Packit |
7e982e |
pam_rhosts — The rhosts PAM module
|
|
Packit |
7e982e |
|
|
Packit |
7e982e |
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
Packit |
7e982e |
|
|
Packit |
7e982e |
DESCRIPTION
|
|
Packit |
7e982e |
|
|
Packit |
7e982e |
This module performs the standard network authentication for services, as used
|
|
Packit |
7e982e |
by traditional implementations of rlogin and rsh etc.
|
|
Packit |
7e982e |
|
|
Packit |
7e982e |
The authentication mechanism of this module is based on the contents of two
|
|
Packit |
7e982e |
files; /etc/hosts.equiv (or and ~/.rhosts. Firstly, hosts listed in the former
|
|
Packit |
7e982e |
file are treated as equivalent to the localhost. Secondly, entries in the
|
|
Packit |
7e982e |
user's own copy of the latter file is used to map "remote-host remote-user"
|
|
Packit |
7e982e |
pairs to that user's account on the current host. Access is granted to the user
|
|
Packit |
7e982e |
if their host is present in /etc/hosts.equiv and their remote account is
|
|
Packit |
7e982e |
identical to their local one, or if their remote account has an entry in their
|
|
Packit |
7e982e |
personal configuration file.
|
|
Packit |
7e982e |
|
|
Packit |
7e982e |
The module authenticates a remote user (internally specified by the item
|
|
Packit |
7e982e |
PAM_RUSER connecting from the remote host (internally specified by the item
|
|
Packit |
7e982e |
PAM_RHOST). Accordingly, for applications to be compatible this authentication
|
|
Packit |
7e982e |
module they must set these items prior to calling pam_authenticate(). The
|
|
Packit |
7e982e |
module is not capable of independently probing the network connection for such
|
|
Packit |
7e982e |
information.
|
|
Packit |
7e982e |
|
|
Packit |
7e982e |
OPTIONS
|
|
Packit |
7e982e |
|
|
Packit |
7e982e |
debug
|
|
Packit |
7e982e |
|
|
Packit |
7e982e |
Print debug information.
|
|
Packit |
7e982e |
|
|
Packit |
7e982e |
silent
|
|
Packit |
7e982e |
|
|
Packit |
7e982e |
Don't print informative messages.
|
|
Packit |
7e982e |
|
|
Packit |
7e982e |
superuser=account
|
|
Packit |
7e982e |
|
|
Packit |
7e982e |
Handle account as root.
|
|
Packit |
7e982e |
|
|
Packit |
7e982e |
EXAMPLES
|
|
Packit |
7e982e |
|
|
Packit |
7e982e |
To grant a remote user access by /etc/hosts.equiv or .rhosts for rsh add the
|
|
Packit |
7e982e |
following lines to /etc/pam.d/rsh:
|
|
Packit |
7e982e |
|
|
Packit |
7e982e |
#%PAM-1.0
|
|
Packit |
7e982e |
#
|
|
Packit |
7e982e |
auth required pam_rhosts.so
|
|
Packit |
7e982e |
auth required pam_nologin.so
|
|
Packit |
7e982e |
auth required pam_env.so
|
|
Packit |
7e982e |
auth required pam_unix.so
|
|
Packit |
7e982e |
|
|
Packit |
7e982e |
|
|
Packit |
7e982e |
AUTHOR
|
|
Packit |
7e982e |
|
|
Packit |
7e982e |
pam_rhosts was written by Thorsten Kukuk <kukuk@thkukuk.de>
|
|
Packit |
7e982e |
|