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