# Test password change with prompting and prompt_principal. -*- conf -*- # # Written by Russ Allbery # Copyright 2014, 2020 Russ Allbery # Copyright 2010-2011 # The Board of Trustees of the Leland Stanford Junior University # # SPDX-License-Identifier: BSD-3-clause or GPL-1+ [options] password = prompt_principal [run] chauthtok(PRELIM_CHECK) = PAM_SUCCESS chauthtok(UPDATE_AUTHTOK) = PAM_SUCCESS [prompts] echo_on = Principal: |%u echo_off = Current Kerberos password: |%p echo_off = Enter new Kerberos password: |%n echo_off = Retype new Kerberos password: |%n [output] INFO user %u changed Kerberos password