1# Test failed password authentication with debug logging. -*- 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 = no_ccache debug 12 account = no_ccache debug 13 session = no_ccache debug 14 15[run] 16 authenticate = PAM_AUTH_ERR 17 acct_mgmt = PAM_IGNORE 18 open_session = PAM_SUCCESS 19 close_session = PAM_SUCCESS 20 21[prompts] 22 echo_off = Password: |BAD%p 23 24[output] 25 DEBUG pam_sm_authenticate: entry 26 DEBUG (user %u) attempting authentication as %u 27 DEBUG /^\(user %u\) krb5_get_init_creds_password: / 28 NOTICE authentication failure; logname=%u uid=%i euid=%i tty= ruser= rhost= 29 DEBUG pam_sm_authenticate: exit (failure) 30 DEBUG pam_sm_acct_mgmt: entry 31 DEBUG skipping non-Kerberos login 32 DEBUG pam_sm_acct_mgmt: exit (ignore) 33 DEBUG pam_sm_open_session: entry 34 DEBUG pam_sm_open_session: exit (success) 35 DEBUG pam_sm_close_session: entry 36 DEBUG pam_sm_close_session: exit (success) 37