Beginning with OpenBSD 3.2, /var is mounted as nosuid if /var
exists as a separate partition.  This default configuration occurs only
with new installs and not with in-place upgrades.

This will cause tmda-cgi to fail right after login.  Since the nosuid
causes a silent failure, the error message that appears specifies an
IOError and a failure to read the user's crypt_key file.  This is an
effect of nosuid and not the real problem.

I made a quick fix by editing /etc/fstab and removing nosuid from the
/var partition.  A better solution would be to make a small partition
specifically for web related programs that need a suid.

By the way, the same problem occurs with qmail if it is installed in its
default location of /var/qmail.  Again, the best solution
is to make a small /var/qmail/bin partition and allow it to be suid.

Thanks to Gre7g Luterman <[EMAIL PROTECTED]> for his great tmda-cgi
program, and for fixing other problems I was having running tmda-cgi with
WN, my web server of choice.

Hope that helps someone else.

Jeff
-- 
Jeff Ross
Open Vistas Networking, Inc.
http://www.openvistas.net


_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to