Subject: Re: Where is "htdigest"?
To: Zbigniew Baniewski <zb@ispid.com.pl>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-users
Date: 05/21/2007 21:30:55
On Tue, 22 May 2007, Zbigniew Baniewski wrote:

> > Or perhaps htdigest can be replaced by some other utility?
> 
> OK, found it; something like:
> 
> echo -n 'user:realm:' > /etc/lighttpd/user.htdigest
> echo 'user:realm:password' | md5sum | cut -b -32 >> /etc/lighttpd/user.htdigest

Note that the second echo probably needs an -n also. Or your md5 digest 
will include the newline.

(See my other email.)


  Jeremy C. Reed