PAM_RHOSTS_AUTH(7) Standards, Environments, and Macros PAM_RHOSTS_AUTH(7)

pam_rhosts_auth - authentication management PAM module using ruserok()

The rhosts PAM module,, authenticates a user via the rlogin authentication protocol. Only pam_sm_authenticate(3PAM) is implemented within this module. pam_sm_authenticate() uses the ruserok(3SOCKET) library function to authenticate the rlogin or rsh user. pam_sm_setcred(3PAM) is a null function. is designed to be stacked on top of the module for both the rlogin and rsh services. This module is normally configured as sufficient so that subsequent authentication is performed only on failure of pam_sm_authenticate(). The following option may be passed in to this service module:


syslog(3C) debugging information at LOG_DEBUG level.

See attributes(7) for descriptions of the following attributes:

MT Level MT-Safe with exceptions

syslog(3C), libpam(3LIB), pam(3PAM), pam_sm_authenticate(3PAM), pam_sm_setcred(3PAM), ruserok(3SOCKET), pam.conf(5), attributes(7)

The interfaces in libpam(3LIB) are MT-Safe only if each thread within the multi-threaded application uses its own PAM handle.

August 19, 2023 OmniOS