suxec mit scriptalias und perl
Florian Lohoff
flo at rfc822.org
Wed Jul 22 09:54:51 CEST 2009
On Tue, Jul 21, 2009 at 07:53:07PM +0200, Hauke Homburg wrote:
> Guten Abend,
>
> ich versuche im Moment Nagios per suexec zum laufen zu bekommen. Kann
> mir da jemand einen guten Link zum nachlesen geben? Die Konfiguration
> funktioniert leider nicht. Google konnte mir bisher nicht helfen.
> Leider. Ich verwende das aktuelle Debian 5 und Apache 2. PHP läuft
> bereits. Auch per Wrapperscript.
>
> ScriptAlias /cgi-bin/nagios3/ /usr/lib/cgi-bin/nagios3/
> <Directory "/usr/lib/cgi-bin/nagios3">
> AllowOverride all
> Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
> Order allow,deny
> Allow from all
> </Directory>
>
> ErrorLog /var/log/apache2/error.log
>
> Danke für die Hilfe
Guck mal ob dein suexec binary auch die suid bits gesetzt hat ...
Und dann das hier durcharbeiten:
http://httpd.apache.org/docs/2.2/suexec.html
Mir fehlt oben noch die angabe als welcher user das denn laufen soll. Muss
suexec das raten? Da gibts eine security checkliste weshalb das gerne
mal schiefgeht ...
Flo
--
Florian Lohoff flo at rfc822.org
Those who would give up a little freedom to get a little
security shall soon have neither - Benjamin Franklin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lug-owl.de/pipermail/linux/attachments/20090722/0b4a1564/attachment.sig>
More information about the Linux
mailing list