Debian Codegraph @

tests/data/scripts/long/password-debug

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