]>
Commit | Line | Data |
---|---|---|
2fc1e207 A |
1 | .Dd July 20, 2004 |
2 | .Dt CHKPASSWD 8 | |
3 | .Os Darwin | |
4 | .Sh NAME | |
5 | .Nm chkpasswd | |
6 | .Nd verifies user password against various systems | |
7 | .Sh SYNOPSIS | |
34d340d7 | 8 | .Nm chkpasswd |
2fc1e207 A |
9 | .Op Fl i Ar infosystem |
10 | .Op Fl l Ar location | |
11 | .Op Fl c | |
12 | .Op Ar name | |
13 | .Sh DESCRIPTION | |
34d340d7 A |
14 | .Nm chkpasswd |
15 | verifies a supplied username and password against file, NIS, | |
16 | or OpenDirectory infosystems. | |
2fc1e207 A |
17 | .Pp |
18 | The options are as follows: | |
19 | .Bl -tag -width Ds | |
34d340d7 A |
20 | .\" ========== |
21 | .It Fl c | |
22 | The supplied password is compared verbatim without first being encrypted. | |
23 | .\" ========== | |
24 | .It Fl i Ar infosystem | |
25 | Specify the system against which to check the password | |
26 | (default is OpenDirectory). Valid systems: | |
27 | .Bl -tag -width "opendirectory" | |
28 | .It Ar file | |
2fc1e207 | 29 | File-based passwords |
34d340d7 | 30 | .It Ar nis |
2fc1e207 | 31 | NIS/YP authentication |
34d340d7 A |
32 | .It Ar opendirectory |
33 | OpenDirectory (Directory Services) authentication. | |
34 | If no | |
35 | .Fl l | |
36 | option is specified, the search node is used. | |
2fc1e207 | 37 | .El |
2fc1e207 | 38 | .Pp |
34d340d7 A |
39 | .\" ========== |
40 | .It Fl l Ar location | |
41 | Specify a location; varies based on infosystem type: | |
42 | .Bl -tag -width "for opendirectory" | |
43 | .It for file | |
44 | Filename (default: /etc/master.passwd). | |
45 | .It for nis | |
2fc1e207 | 46 | NIS domainname. |
34d340d7 A |
47 | .It for opendirectory |
48 | A directory node name such as /Local/Default. | |
2fc1e207 | 49 | .El |
34d340d7 | 50 | .Pp |
2fc1e207 | 51 | .El |
34d340d7 A |
52 | .Ar name |
53 | username | |
2fc1e207 | 54 | .Sh SEE ALSO |
34d340d7 A |
55 | .Xr dscl 1 , |
56 | .Xr passwd 5 |