1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
# Test excessively long password handling with debug logging. -*- conf -*-
#
# Copyright 2020 Russ Allbery <eagle@eyrie.org>
#
# SPDX-License-Identifier: BSD-3-clause or GPL-1+
[options]
auth = debug
[run]
authenticate = PAM_AUTH_ERR
[prompts]
echo_off = Password: |%p
[output]
DEBUG pam_sm_authenticate: entry
DEBUG /^\(user %u\) rejecting password longer than [0-9]+$/
NOTICE authentication failure; logname=%u uid=%i euid=%i tty= ruser= rhost=
DEBUG pam_sm_authenticate: exit (failure)
|