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