|
|
1.1 root 1: .\" Copyright (c) 1990 The Regents of the University of California.
2: .\" All rights reserved.
3: .\"
4: .\" Redistribution and use in source and binary forms are permitted provided
5: .\" that: (1) source distributions retain this entire copyright notice and
6: .\" comment, and (2) distributions including binaries display the following
7: .\" acknowledgement: ``This product includes software developed by the
8: .\" University of California, Berkeley and its contributors'' in the
9: .\" documentation or other materials provided with the distribution and in
10: .\" all advertising materials mentioning features or use of this software.
11: .\" Neither the name of the University nor the names of its contributors may
12: .\" be used to endorse or promote products derived from this software without
13: .\" specific prior written permission.
14: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
15: .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
16: .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17: .\"
18: .\" @(#)passwd.1 6.7 (Berkeley) 6/22/90
19: .\"
20: .Dd June 22, 1990
21: .Dt PASSWD 1
22: .Os BSD 4
23: .Sh NAME
24: .Nm passwd
25: .Nd modify a user's password
26: .Sh SYNOPSIS
27: .Nm passwd
28: .Op Fl l
29: .Op Ar user
30: .Sh DESCRIPTION
31: .Nm Passwd
32: changes the user's Kerberos password. First, the user is prompted for their
33: current password.
34: If the current password is correctly typed, a new password is
35: requested.
36: The new password must be entered two times to verify any typing errors.
37: .Pp
38: The new password should be at least six characters long and not
39: purely alphabetic.
40: Its total length must be less than _PASSWORD_LEN (currently 128 characters).
41: Numbers, upper case letters and meta characters
42: are encouraged.
43: .Pp
44: Once the password has been verified,
45: .Nm passwd
46: communicates the new password information to
47: the Kerberos authenticating host.
48: .Tp Fl l
49: This option causes the password to be updated only in the local
50: password file, and not with the Kerberos database.
51: When changing only the local password,
52: .Xr mkpasswd 8
53: is used to update the user database. This is run in the background, and,
54: at very large sites could take several minutes. Until this update
55: is completed, the password file is unavailable for other updates
56: and the new password will not be available to programs.
57: .Tp
58: .Pp
59: To change another user's Kerberos password, one must first
60: run
61: .Xr kinit 1
62: followed by
63: .Xr passwd 1 .
64: The super-user is not required to provide a user's current password
65: if only the local password is modified.
66: .Sh FILES
67: .Dw /etc/master.passwd
68: .Di L
69: .Dp Pa /etc/master.passwd
70: the user database
71: .Dp
72: .Sh SEE ALSO
73: .Xr chpass 1 ,
74: .Xr kerberos 1 ,
75: .Xr kinit 1 ,
76: .Xr login 1 ,
77: .Xr passwd 5 ,
78: .Xr kpasswdd 8 ,
79: .Xr mkpasswd 8 ,
80: .Xr vipw 8
81: .br
82: Robert Morris and Ken Thompson,
83: .Em UNIX password security
84: .Sh HISTORY
85: A
86: .Nm passwd
87: command appeared in Version 6 AT&T UNIX.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.