it"Gee, I randomly changed the ownership and permissions on a binary, anddoesn't work anymore. How come?"
wellHeh...I guess I deserved that...did I mention I was newbie at Linux asas Courier? <g>
So I changed the permissions back to what they were originally, restarted courier and httpd, and I'm still getting "ERROR: Invalid Password"
The original permissions included the setuid bit. Did you restore it?
OK, after messing around a bit, I finally just recopied over the folder and binaries to /var/www/cgi-bin/
The only thing you need to copy is the webadmin binary.
When you copy a file, the setuid bit is automatically turned off. From INSTALL:
OPTIONAL: Configure webadmin
This is a web-based administration tool. webadmin is a web CGI
application. It is necessary to have a local web server installed in
order to use webadmin. Apache will do, but so will any other server
with a complete CGI implementation (PHP is not required). Installing
webadmin is a three step process:
1. Move /usr/lib/courier/libexec/courier/webmail/webadmin to your web
server's SSL cgi-bin directory. Take care to preserve the binary's
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ownership and permissions.
^^^^^^^^^^^^^^^^^^^^^^^^^^When in doubt, follow the instructions.
pgp00000.pgp
Description: PGP signature
