in reply to authenticate via cgi-bin

Hi mce,
you probably already know that using system passwords is not a good idea and using a setuid script is even worst :) Anyway, a simple solution is to copy periodically your /etc/shadow somewhere and make it accessible to Apache httpd using a cron job owned by root.

Ciao, Valerio