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