]> git.saurik.com Git - apple/system_cmds.git/blame - chkpasswd.tproj/chkpasswd.8
system_cmds-336.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
8.Nm
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
15verifies a supplied username and password against NetInfo, file, NIS, or OpenDirectory backends.
16.Pp
17The options are as follows:
18.Bl -tag -width Ds
19.Fl i Ar infosystem
20Specify the system against which to check the password (default is OpenDirectory). Valid systems:
21.Pp
22.Bl -tag -width "opendirectory" -compact
23.It Cm netinfo
24NetInfo database
25.It Cm file
26File-based passwords
27.It Cm nis
28NIS/YP authentication
29.It Cm opendirectory
30OpenDirectory (Directory Services) authentication
31.El
32.Fl l Ar location
33Specify a location; varies based on info system type:
34.Pp
35.Bl -tag -width "opendirectory" -compact
36.It Cm netinfo
37Domain name or server/tag.
38.It Cm file
39Filename (default: /etc/passwd).
40.It Cm nis
41NIS domainname.
42.It Cm opendirectory
43Directory node name.
44.El
45.Fl c
46The supplied password is compared verbatim without first being crypted.
47.Ar name
48Username
49.El
50.Sh SEE ALSO
51.Xr nicl 1 ,
52.Xr passwd 5 ,
53.Xr dscl 1