CHKPASSWD(8) System Manager's Manual CHKPASSWD(8)

chkpasswdverifies user password against various systems

chkpasswd [-i infosystem [-l location]] [-c] [name]

chkpasswd verifies a supplied username and password against file, NIS, or OpenDirectory infosystems.

The options are as follows:

The supplied password is compared verbatim without first being encrypted.
infosystem
Specify the system against which to check the password (default is PAM). Valid systems:
file
File-based passwords
nis
NIS/YP authentication
opendirectory
OpenDirectory (Directory Services) authentication. If no -l option is specified, the search node is used.
PAM
Pluggable Authentication Modules
location
Specify a location; varies based on infosystem type:
for file
Filename (default: /etc/master.passwd).
for nis
NIS domainname.
for opendirectory
A directory node name such as /Local/Default.
for PAM
Unused.

name username

dscl(1), passwd(5)

July 20, 2004 Darwin