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