chkpasswd(8)

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 -l option 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.

  1. 10.4–10.4.11
  2. 10.5–10.5.8
  3. 10.6–11.5
  4. 12.0.1–26.5

-c since Mac OS X 10.5; -i since Mac OS X 10.5; -l since Mac OS X 10.5.

From system_cmds 1042.120.1 in macOS 26.5. Parsed by carta from the page's mdoc source.