1# Test simplest case of alternative authentication principal. -*- conf -*- 2# 3# Written by Russ Allbery <eagle@eyrie.org> 4# Copyright 2014, 2020 Russ Allbery <eagle@eyrie.org> 5# Copyright 2010-2011 6# The Board of Trustees of the Leland Stanford Junior University 7# 8# SPDX-License-Identifier: BSD-3-clause or GPL-1+ 9 10[options] 11 auth = alt_auth_map=%1 force_first_pass no_ccache debug 12 account = alt_auth_map=%1 no_ccache debug 13 14[run] 15 authenticate = PAM_SUCCESS 16 acct_mgmt = PAM_SUCCESS 17 18[output] 19 DEBUG pam_sm_authenticate: entry 20 DEBUG (user %u) mapping bogus-nonexistent-account to %1 21 DEBUG (user %u) alternate authentication successful 22 INFO user %u authenticated as %1 23 DEBUG pam_sm_authenticate: exit (success) 24 DEBUG pam_sm_acct_mgmt: entry 25 DEBUG pam_sm_acct_mgmt: exit (success) 26