Commit | Line | Data |
---|---|---|
e6817382 BJ |
1 | .TH PASSWD 1 |
2 | .SH NAME | |
3 | passwd \- change login password | |
4 | .SH SYNOPSIS | |
5 | .B passwd | |
6 | [ name ] | |
7 | .SH DESCRIPTION | |
8 | This command changes (or installs) a password | |
9 | associated with the user | |
10 | .IR name | |
11 | (your own name by default). | |
12 | .PP | |
13 | The program prompts for the old password and then for the new one. | |
14 | The caller must supply both. | |
15 | The new password must be typed twice, to forestall mistakes. | |
16 | .PP | |
17 | New passwords must be at least four characters long if they use | |
18 | a sufficiently rich alphabet and at least six characters long | |
19 | if monocase. | |
20 | These rules are relaxed if you are insistent enough. | |
21 | .PP | |
22 | Only the owner of the name or the super-user may change a password; | |
23 | the owner must prove he knows the old password. | |
24 | .SH FILES | |
25 | /etc/passwd | |
26 | .SH "SEE ALSO" | |
27 | login(1), passwd(5), crypt(3) | |
28 | .br | |
29 | Robert Morris and Ken Thompson, | |
30 | .I UNIX password security |