blob: f6843b399b444aa70093eb331cb9e27cb694e472 [file] [log] [blame]
rscc9d04e02005-02-14 00:00:02 +00001.TH PASSWD 1
2.SH NAME
3passwd, netkey \- change user password
4.SH SYNOPSIS
5.B passwd
6[
7.I username\fR[@\fPdomain\fR]\fP
8]
9.PP
10.B netkey
11.SH DESCRIPTION
12.I Passwd
13changes the invoker's Plan 9 password and/or APOP secret.
14The Plan 9 password is used to login to a terminal while
15the APOP secret is used for a number of external services:
16POP3, IMAP, and VPN access. The optional argument specifies
17the user name and authentication domain to use if different
18than the one associated with the machine
19.I passwd
20is run on.
21.PP
22The program first prompts for the old Plan 9 password in the specified
23domain to establish
24identity.
25It then prompts for changes to the password and the
26secret.
27New passwords and secrets must be typed twice, to forestall mistakes.
28New passwords must be sufficiently hard to guess.
29They may be of any length greater than seven characters.
30.PP
31.I Netkey
32prompts for a password to encrypt network challenges.
33It is a substitute for a SecureNet box.
34.SH SOURCE
35.B \*9/src/cmd/netkey.c
36.br
37.B \*9/src/cmd/auth/passwd.c
38.SH "SEE ALSO"
39.IR encrypt (3)
40.PP
41Robert Morris and Ken Thompson,
42``UNIX Password Security,''
43.I AT&T Bell Laboratories Technical Journal
44Vol 63 (1984), pp. 1649-1672