'\" te .\" Copyright (c) 2005, 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] .TH PAM_ALLOW 7 "August 19, 2023" .SH NAME pam_allow \- PAM authentication, account, session and password management PAM module to allow operations .SH SYNOPSIS .nf \fBpam_allow.so.1\fR .fi .SH DESCRIPTION The \fBpam_allow\fR module implements all the PAM service module functions and returns \fBPAM_SUCCESS\fR for all calls. Opposite functionality is available in the \fBpam_deny\fR(7) module. .sp .LP Proper authentication operation requires \fBpam_unix_cred\fR(7) be stacked above \fBpam_allow\fR. .sp .LP The following options are interpreted: .sp .ne 2 .na \fBdebug\fR .ad .RS 9n Provides \fBsyslog\fR(3C) debugging information at the \fBLOG_AUTH | LOG_DEBUG\fR level. .RE .SH ERRORS \fBPAM_SUCCESS\fR is always returned. .SH EXAMPLES \fBExample 1 \fRAllowing \fBssh none\fR .sp .LP The following example is a \fBpam.conf\fR fragment that illustrates a sample for allowing \fBssh none\fR authentication: .sp .in +2 .nf sshd-none auth required pam_unix_cred.so.1 sshd-none auth sufficient pam_allow.so.1 sshd-none account sufficient pam_allow.so.1 sshd-none session sufficient pam_allow.so.1 sshd-none password sufficient pam_allow.so.1 .fi .in -2 .LP \fBExample 2 \fRAllowing Kiosk Automatic Login Service .sp .LP The following is example is a \fBpam.conf\fR fragment that illustrates a sample for allowing \fBgdm\fR kiosk auto login: .sp .in +2 .nf gdm-autologin auth required pam_unix_cred.so.1 gdm-autologin auth sufficient pam_allow.so.1 .fi .in -2 .SH ATTRIBUTES See \fBattributes\fR(7) for descriptions of the following attributes: .sp .sp .TS box; c | c l | l . ATTRIBUTE TYPE ATTRIBUTE VALUE _ Interface Stability Stable _ MT Level MT-Safe with exceptions .TE .SH SEE ALSO .BR syslog (3C), .BR libpam (3LIB), .BR pam (3PAM), .BR pam_sm (3PAM), .BR pam.conf (5), .BR attributes (7), .BR pam_deny (7), .BR pam_unix_cred (7) .SH NOTES The interfaces in \fBlibpam\fR(3LIB) are MT-Safe only if each thread within the multi-threaded application uses its own PAM handle. .sp .LP This module is intended to be used to either allow access to specific services names, or to all service names not specified (by specifying it as the default service stack).