checkcmd5pw(8)

NAME
checkcmd5pw - checks password against the file ~Maildir/.password

SYNOPSIS
checkcmd5pw prog

DESCRIPTION
checkcmd5pw reads descriptor 3 through end of file and then closes descriptor 3. There must be at most 512 bytes of data before end of file. The information supplied on descriptor 3 is a login name terminated by \0, a cram-md5 challenge terminated by \0, and a cram-md5 response terminated by \0. If the password is unacceptable, checkcmd5pw exits 1. If checkcmd5pw is misused, it may instead exit 2. If there is a temporary problem checking the password, checkcmd5pw exits 111. If the password is acceptable, checkcmd5pw runs prog. prog consists of one or more arguments.

Compatible tools
There are other tools that offer the same interface as checkpasswd Note that these tools do not follow the getopt interface. Optional features are controlled through (1) the tool name and (2) environment variables.

The password database
checkcmd5pw checks the password against the content of the file Maildir/.password in the user's home directory corresponding to the login name.

Process-state changes
Before invoking prog, checkcmd5pw sets up $USER, $HOME, $SHELL, its supplementary groups, its gid, its uid, and its working directory.

FILES
~/Maildir/.password

SEE ALSO
qmail-smtpd(8)

AUTHOR
This manual page was written by Gerrit Pape <tsuchiya@namazu.org>, for the Debian GNU/Linux system.