1# Test password change with prompting and prompt_principal. -*- 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 password = prompt_principal 12 13[run] 14 chauthtok(PRELIM_CHECK) = PAM_SUCCESS 15 chauthtok(UPDATE_AUTHTOK) = PAM_SUCCESS 16 17[prompts] 18 echo_on = Principal: |%u 19 echo_off = Current Kerberos password: |%p 20 echo_off = Enter new Kerberos password: |%n 21 echo_off = Retype new Kerberos password: |%n 22 23[output] 24 INFO user %u changed Kerberos password 25