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