# Test excessively long password handling with debug logging. -*- conf -*- # # Copyright 2020 Russ Allbery # # 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)