v>

### 6.27.4. RETURN VALUES

PAM_AUTH_ERR

  The remote host, remote user name or the local user name couldn't be determined or access was denied by `.rhosts` file.

PAM_USER_UNKNOWN

  User is not known to system.

### 6.27.5. EXAMPLES

To grant a remote user access by `/etc/hosts.equiv` or `.rhosts` for rsh add the following lines to `/etc/pam.d/rsh`:

    #%PAM-1.0
    #
    auth     required       pam_rhosts.so
    auth     required       pam_nologin.so
    auth     required       pam_env.so
    auth     required       pam_unix.so

### 6.27.6. AUTHOR

pam_rhosts was written by Thorsten Kukuk <kukuk@thkukuk.de>

Prev | Up | Next
6.26. pam_pwhistory - grant access using .pwhistory file | Home | 6.28. pam_rootok - gain only root access