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