xref: /freebsd/contrib/pam-krb5/tests/data/scripts/password/prompt-principal (revision bf6873c5786e333d679a7838d28812febf479a8a)
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