cmd5checkpw

  978 downloads
0.22 GPL (GNU General Public License)    
3.4/5 15
cmd5checkpw is a checkpassword compatible authentication program that uses CRAM-MD5 authentiaction mode.

description

download

specifications

cmd5checkpw is a checkpassword compatible authentication program that uses CRAM-MD5 authentication mode.

The software was designed primary to work with qmail but it can be used by any other program that knows how to use checkpassword compatible authentication. Actualy you can save yourself a lot of work using this program instead of patching other programs. Changing a program to use checkpassword is certainly simplier than adding whole CRAM-MD5 support.
This code is based on the original checkpassword by Dan Bernstein.

Instalation procedure and usage:

Required software:
- a c compiler (gcc f.e.)
- gnu make

Installation:

Unpack the archive and change to the newly created directory.

1. Compile the program.
% make
2. Install the programs and man page:
# make install

Now you should have an example poppasswd copied to your /etc directory and cmd5checkpw binary in your /bin directory.

Now select a free user id in your system.

Create that user in /etc/passwd do "chown thatuser /etc/poppasswd" , "chmod 400 /etc/poppasswd", "chown thatuser /bin/cmd5checkpw" and "chmod a+s /bin/cmd5checkpw".

Of course replace "thatuser" with username of the user you have created.

Usage:

My qmail-smtpd-auth patch will make qmail use it for authentication. Other programs can use it too. Detailed working of the command is explained in the included man page.
READ MORE   
Last updated on July 31st, 2007

0 User reviews so far.

SUBMIT