chkpasswd8
Verifies user password against various systems
Usage
chkpasswd [-i
infosystem
[-l
location]]
[-c]
[name]
Overview
chkpasswd verifies a supplied username and password against file, NIS, or OpenDirectory infosystems.
The options are as follows:
-
-c -
The supplied password is compared verbatim without first being encrypted.
-
-i 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
-loption is specified, the search node is used. - PAM
-
Pluggable Authentication Modules
-
-l 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
Releases
135 releases since Mac OS X 10.4; the text changed 3 times.
-c since Mac OS X 10.5;
-i since Mac OS X 10.5;
-l since Mac OS X 10.5.