]> git.saurik.com Git - apple/system_cmds.git/blob - chkpasswd.tproj/chkpasswd.8
system_cmds-433.8.tar.gz
[apple/system_cmds.git] / chkpasswd.tproj / chkpasswd.8
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
8 .Nm chkpasswd
9 .Op Fl i Ar infosystem
10 .Op Fl l Ar location
11 .Op Fl c
12 .Op Ar name
13 .Sh DESCRIPTION
14 .Nm chkpasswd
15 verifies a supplied username and password against file, NIS,
16 or OpenDirectory infosystems.
17 .Pp
18 The options are as follows:
19 .Bl -tag -width Ds
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
29 File-based passwords
30 .It Ar nis
31 NIS/YP authentication
32 .It Ar opendirectory
33 OpenDirectory (Directory Services) authentication.
34 If no
35 .Fl l
36 option is specified, the search node is used.
37 .El
38 .Pp
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
46 NIS domainname.
47 .It for opendirectory
48 A directory node name such as /Local/Default.
49 .El
50 .Pp
51 .El
52 .Ar name
53 username
54 .Sh SEE ALSO
55 .Xr dscl 1 ,
56 .Xr passwd 5