summaryrefslogtreecommitdiffstats
path: root/eBones/man/kpasswd.1
blob: 2283f1fa4c7943e4a0ba8fe406be8b53a9b90b8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
.\" from: kpasswd.1,v 4.2 89/07/25 17:23:08 jtkohl Exp $
.\" $Id: kpasswd.1,v 1.2 1994/07/19 19:27:40 g89r4222 Exp $
.\" Copyright 1989 by the Massachusetts Institute of Technology.
.\"
.\" For copying and distribution information,
.\" please see the file <Copyright.MIT>.
.\"
.TH KPASSWD 1 "Kerberos Version 4.0" "MIT Project Athena"
.FM mit
.SH NAME
kpasswd \- change a user's Kerberos password
.SH SYNOPSIS
.B kpasswd
[
.B \-h
] [
.B \-n
.I name
] [
.B \-i
.I instance
] [
.B \-r
.I realm
] [
\-u
.IR username[.instance][@realm] ]
.SH DESCRIPTION
The
.I kpasswd
command is used to change a Kerberos principal's password.
.PP
If the
.I \-h
option is specified, a brief summary of the options is printed, and 
.I kpasswd
then exits.
.PP
If the
.I \-n
option is specified, 
.I name
is used as the principal name rather than the username of the user
running
.IR kpasswd .
(This is determined from the ticket file if it exists;
otherwise, it is determined from the unix user id.)
.PP
If the
.I \-i
option is specified,
.I instance
is used as the instance rather than a null instance.
.PP
If the
.I \-r
option is specified,
.I realm
is used as the realm rather than the local realm.
.PP
If the 
.I \-u 
option is specified, a fully qualified kerberos
principal can be given.
.PP

The utility prompts for the current Kerberos password (printing
the name of the principal for which it intends to change the password),
which is verified by the Kerberos server.  If the old password is
correct, the user is prompted twice for the new password.  A message is
printed indicating the success or failure of the password changing
operation.

.SH BUGS

.I kpasswd
does not handle names, instances, or realms with special
characters in them when the -n, -i, or -r options are used.  Any
valid fullname is accepted, however, if the -u option is used.

If the principal whose password you are trying to change does
not exist, you will not be told until after you have entered the
old password.

.SH SEE ALSO
kerberos(1), kinit(1), passwd(1), kadmin(8)
OpenPOWER on IntegriCloud