xref: /titanic_41/usr/src/lib/libpam/pam.conf (revision dcd4d5928c099531751fb8dcac80b772dd0e1963)
17c478bd9Sstevel@tonic-gate#
27c478bd9Sstevel@tonic-gate# CDDL HEADER START
37c478bd9Sstevel@tonic-gate#
47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
5*dcd4d592Smp153739# Common Development and Distribution License (the "License").
6*dcd4d592Smp153739# You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate#
87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate# and limitations under the License.
127c478bd9Sstevel@tonic-gate#
137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate#
197c478bd9Sstevel@tonic-gate# CDDL HEADER END
207c478bd9Sstevel@tonic-gate#
217c478bd9Sstevel@tonic-gate#
227c478bd9Sstevel@tonic-gate#ident	"%Z%%M%	%I%	%E% SMI"
237c478bd9Sstevel@tonic-gate#
24*dcd4d592Smp153739# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
257c478bd9Sstevel@tonic-gate# Use is subject to license terms.
267c478bd9Sstevel@tonic-gate#
277c478bd9Sstevel@tonic-gate# PAM configuration
287c478bd9Sstevel@tonic-gate#
297c478bd9Sstevel@tonic-gate# Unless explicitly defined, all services use the modules
307c478bd9Sstevel@tonic-gate# defined in the "other" section.
317c478bd9Sstevel@tonic-gate#
327c478bd9Sstevel@tonic-gate# Modules are defined with relative pathnames, i.e., they are
337c478bd9Sstevel@tonic-gate# relative to /usr/lib/security/$ISA. Absolute path names, as
347c478bd9Sstevel@tonic-gate# present in this file in previous releases are still acceptable.
357c478bd9Sstevel@tonic-gate#
367c478bd9Sstevel@tonic-gate# Authentication management
377c478bd9Sstevel@tonic-gate#
387c478bd9Sstevel@tonic-gate# login service (explicit because of pam_dial_auth)
397c478bd9Sstevel@tonic-gate#
407c478bd9Sstevel@tonic-gatelogin	auth requisite		pam_authtok_get.so.1
417c478bd9Sstevel@tonic-gatelogin	auth required		pam_dhkeys.so.1
427c478bd9Sstevel@tonic-gatelogin	auth required		pam_unix_cred.so.1
437c478bd9Sstevel@tonic-gatelogin	auth required		pam_unix_auth.so.1
447c478bd9Sstevel@tonic-gatelogin	auth required		pam_dial_auth.so.1
457c478bd9Sstevel@tonic-gate#
467c478bd9Sstevel@tonic-gate# rlogin service (explicit because of pam_rhost_auth)
477c478bd9Sstevel@tonic-gate#
487c478bd9Sstevel@tonic-gaterlogin	auth sufficient		pam_rhosts_auth.so.1
497c478bd9Sstevel@tonic-gaterlogin	auth requisite		pam_authtok_get.so.1
507c478bd9Sstevel@tonic-gaterlogin	auth required		pam_dhkeys.so.1
517c478bd9Sstevel@tonic-gaterlogin	auth required		pam_unix_cred.so.1
527c478bd9Sstevel@tonic-gaterlogin	auth required		pam_unix_auth.so.1
537c478bd9Sstevel@tonic-gate#
547c478bd9Sstevel@tonic-gate# Kerberized rlogin service
557c478bd9Sstevel@tonic-gate#
567c478bd9Sstevel@tonic-gatekrlogin	auth required		pam_unix_cred.so.1
57*dcd4d592Smp153739krlogin	auth required		pam_krb5.so.1
587c478bd9Sstevel@tonic-gate#
597c478bd9Sstevel@tonic-gate# rsh service (explicit because of pam_rhost_auth,
607c478bd9Sstevel@tonic-gate# and pam_unix_auth for meaningful pam_setcred)
617c478bd9Sstevel@tonic-gate#
627c478bd9Sstevel@tonic-gatersh	auth sufficient		pam_rhosts_auth.so.1
637c478bd9Sstevel@tonic-gatersh	auth required		pam_unix_cred.so.1
647c478bd9Sstevel@tonic-gate#
657c478bd9Sstevel@tonic-gate# Kerberized rsh service
667c478bd9Sstevel@tonic-gate#
677c478bd9Sstevel@tonic-gatekrsh	auth required		pam_unix_cred.so.1
68*dcd4d592Smp153739krsh	auth required		pam_krb5.so.1
697c478bd9Sstevel@tonic-gate#
707c478bd9Sstevel@tonic-gate# Kerberized telnet service
717c478bd9Sstevel@tonic-gate#
727c478bd9Sstevel@tonic-gatektelnet	auth required		pam_unix_cred.so.1
73*dcd4d592Smp153739ktelnet	auth required		pam_krb5.so.1
747c478bd9Sstevel@tonic-gate#
757c478bd9Sstevel@tonic-gate# PPP service (explicit because of pam_dial_auth)
767c478bd9Sstevel@tonic-gate#
777c478bd9Sstevel@tonic-gateppp	auth requisite		pam_authtok_get.so.1
787c478bd9Sstevel@tonic-gateppp	auth required		pam_dhkeys.so.1
797c478bd9Sstevel@tonic-gateppp	auth required		pam_unix_cred.so.1
807c478bd9Sstevel@tonic-gateppp	auth required		pam_unix_auth.so.1
817c478bd9Sstevel@tonic-gateppp	auth required		pam_dial_auth.so.1
827c478bd9Sstevel@tonic-gate#
837c478bd9Sstevel@tonic-gate# Default definitions for Authentication management
847c478bd9Sstevel@tonic-gate# Used when service name is not explicitly mentioned for authentication
857c478bd9Sstevel@tonic-gate#
867c478bd9Sstevel@tonic-gateother	auth requisite		pam_authtok_get.so.1
877c478bd9Sstevel@tonic-gateother	auth required		pam_dhkeys.so.1
887c478bd9Sstevel@tonic-gateother	auth required		pam_unix_cred.so.1
897c478bd9Sstevel@tonic-gateother	auth required		pam_unix_auth.so.1
907c478bd9Sstevel@tonic-gate#
917c478bd9Sstevel@tonic-gate# passwd command (explicit because of a different authentication module)
927c478bd9Sstevel@tonic-gate#
937c478bd9Sstevel@tonic-gatepasswd	auth required		pam_passwd_auth.so.1
947c478bd9Sstevel@tonic-gate#
957c478bd9Sstevel@tonic-gate# cron service (explicit because of non-usage of pam_roles.so.1)
967c478bd9Sstevel@tonic-gate#
977c478bd9Sstevel@tonic-gatecron	account required	pam_unix_account.so.1
987c478bd9Sstevel@tonic-gate#
997c478bd9Sstevel@tonic-gate# Default definition for Account management
1007c478bd9Sstevel@tonic-gate# Used when service name is not explicitly mentioned for account management
1017c478bd9Sstevel@tonic-gate#
1027c478bd9Sstevel@tonic-gateother	account requisite	pam_roles.so.1
1037c478bd9Sstevel@tonic-gateother	account required	pam_unix_account.so.1
1047c478bd9Sstevel@tonic-gate#
1057c478bd9Sstevel@tonic-gate# Default definition for Session management
1067c478bd9Sstevel@tonic-gate# Used when service name is not explicitly mentioned for session management
1077c478bd9Sstevel@tonic-gate#
1087c478bd9Sstevel@tonic-gateother	session required	pam_unix_session.so.1
1097c478bd9Sstevel@tonic-gate#
1107c478bd9Sstevel@tonic-gate# Default definition for  Password management
1117c478bd9Sstevel@tonic-gate# Used when service name is not explicitly mentioned for password management
1127c478bd9Sstevel@tonic-gate#
1137c478bd9Sstevel@tonic-gateother	password required	pam_dhkeys.so.1
1147c478bd9Sstevel@tonic-gateother	password requisite	pam_authtok_get.so.1
1157c478bd9Sstevel@tonic-gateother	password requisite	pam_authtok_check.so.1
1167c478bd9Sstevel@tonic-gateother	password required	pam_authtok_store.so.1
1177c478bd9Sstevel@tonic-gate#
1187c478bd9Sstevel@tonic-gate# Support for Kerberos V5 authentication and example configurations can
1197c478bd9Sstevel@tonic-gate# be found in the pam_krb5(5) man page under the "EXAMPLES" section.
1207c478bd9Sstevel@tonic-gate#
121