Imported Upstream version 1.15.2
[platform/upstream/krb5.git] / doc / html / _sources / user / user_commands / kpasswd.txt
1 .. _kpasswd(1):
2
3 kpasswd
4 =======
5
6 SYNOPSIS
7 --------
8
9 **kpasswd** [*principal*]
10
11
12 DESCRIPTION
13 -----------
14
15 The kpasswd command is used to change a Kerberos principal's password.
16 kpasswd first prompts for the current Kerberos password, then prompts
17 the user twice for the new password, and the password is changed.
18
19 If the principal is governed by a policy that specifies the length
20 and/or number of character classes required in the new password, the
21 new password must conform to the policy.  (The five character classes
22 are lower case, upper case, numbers, punctuation, and all other
23 characters.)
24
25
26 OPTIONS
27 -------
28
29 *principal*
30     Change the password for the Kerberos principal principal.
31     Otherwise, kpasswd uses the principal name from an existing ccache
32     if there is one; if not, the principal is derived from the
33     identity of the user invoking the kpasswd command.
34
35
36 SEE ALSO
37 --------
38
39 :ref:`kadmin(1)`, :ref:`kadmind(8)`