checkpassword.8 (1898B)
- .\" checkpassword-ng: Uniform password checking interface for applications
- .\" Copyright © 2021 checkpassword-ng Authors <https://hacktivis.me/git/checkpassword-ng>
- .\" SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
- .Dd 2021-04-27
- .Dt CHECKPASSWORD 8
- .Sh NAME
- .Nm checkpassword
- .Nd Uniform password checking interface for applications
- .Sh SYNOPSIS
- .Nm
- .Ar prog
- .Sh DESCRIPTION
- .Nm
- reads at most 512-octets from file descriptor 3 and then closes it.
- zero-byte-separated data is given on file descriptor 3:
- .Bl -bullet -compact
- .It
- login name
- .It
- password
- .It
- timestamp (ignored in this implementation)
- .It
- possibly more data (also ignored)
- .El
- .Pp
- .Nm
- is for applications that typically shouldn't effectively run as root like screen lockers, for others you might want to directly use
- .Xr chkpw 3
- .Pp
- Client applications are highly recommended use a restricted
- .Ev PATH
- or a direct path to launch
- .Nm .
- It is also recommended to give a restricted
- .Ev PATH
- or a direct path for
- .Ar prog .
- .Sh ENVIRONMENT VARIABLES
- Ignored in this implementation, used in others to pass options.
- .Sh EXIT STATUS
- If the password is invalid,
- .Nm
- returns 1.
- If
- .Nm
- is misused, it may return 2.
- If there is a temporary problem,
- .Nm
- returns 111.
- If the password is correct,
- .Nm
- runs
- .Ar prog .
- .Sh SEE ALSO
- .Lk https://cr.yp.to/checkpwd/interface.html The checkpassword interface
- .Sh LIMITATIONS
- PAM (Pluggable Authentication Modules)
- is unsupported for now, an implementation with the same standardized interface
- with support for it is available at
- .Lk http://checkpasswd-pam.sourceforge.net/
- .Sh BUGS
- Please send all bugs to
- .Mt contact+chkpw@hacktivis.me
- .Pp
- For security bugs you can encrypt the email with
- .Xr reop 1 ,
- my public key is found at:
- .Lk https://hacktivis.me/reop.pub
- .Sh Author
- This implementation of
- .Nm
- was written from scratch by
- .An Haelwenn (lanodan) Monnier Aq Mt contact+chkpw@hacktivis.me