xref: /illumos-gate/usr/src/man/man7/pam_rhosts_auth.7 (revision 724733535c8d5346d1f18efab32f7a75789f721b)
te
Copyright (c) 1995, Sun Microsystems, Inc.
All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
PAM_RHOSTS_AUTH 7 "August 19, 2023"
NAME
pam_rhosts_auth - authentication management PAM module using ruserok()
SYNOPSIS
pam_rhosts_auth.so.1
DESCRIPTION
The rhosts PAM module, pam_rhosts_auth.so.1, 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.

pam_rhosts_auth.so.1 is designed to be stacked on top of the pam_unix.so.1 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: debug

syslog(3C) debugging information at LOG_DEBUG level.

ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE ATTRIBUTE VALUE
MT Level MT-Safe with exceptions
SEE ALSO
syslog (3C), libpam (3LIB), pam (3PAM), pam_sm_authenticate (3PAM), pam_sm_setcred (3PAM), ruserok (3SOCKET), pam.conf (5), attributes (7)
NOTES
The interfaces in libpam(3LIB) are MT-Safe only if each thread within the multi-threaded application uses its own PAM handle.