Re: AW: [users@httpd] apache2 and suexec problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I compiled Apache/1.3.34 with suexec.
This version is working.

Sterpu Victor wrote:

I installed apache 2.2.0 and I have exactly the same problem.
It would be useful if someoune could confirm that apache 2 does not work with suexec, so I could try a apache 1.3.
Or if someoane could say that apache 2 and suexec were tested an working.

Oliver.Schaudt@xxxxxxxxx wrote:

has your /usr/sbin/suexes the appropriate rights with the sticky bit set.
Like this
-r-sr-xr-x  1 root root   31703 Dec 12 11:27 suexec

If not, than you will get this with these commands

chmod 4555      /usr/sbin/suexec
chown root:root /usr/sbin/suexec

bye

Oliver

________________________________

Von: Sterpu Victor [mailto:victor@xxxxxxxx]
Gesendet: Mo 23.01.2006 11:35
An: users@xxxxxxxxxxxxxxxx
Betreff: Re: [users@httpd] apache2 and suexec problem




Also when I start the apache I receive the following warning: "Warning:
SuexecUserGroup directive requires SUEXEC wrapper.";
Suexec binary is in /usr/sbin
And apache is compiled with the option "SUEXEC_BIN="/usr/sbin/suexec".
The command  "httpd -V |grep -i suexec" prints " -D
SUEXEC_BIN="/usr/sbin/suexec"
I use Apache/2.0.54.


Sterpu Victor wrote:

I have the following configuration.

<VirtualHost 192.168.250.91:80>
  DirectoryIndex index.html index.htm index.php index.php3
  ServerName suexec2.ambra.ro
  SuexecUserGroup suexec2 suexec2
  DocumentRoot /var/www/suexec2.ambra.ro
  Action application/x-httpd-php /cgi-bin/suexec2.ambra.ro/php-cgi
  ScriptAlias /suexec2cgibin /var/www/suexec2.ambra.ro
  Action application/x-httpd-php /suexec2cgibin/php-cgi
  <Directory /var/www/suexec2.ambra.ro>
      Allow from all
  </Directory>
</VirtualHost>


Everything seems to work fine, but it doesn't.
In this virtual host I place a php file that creates a test.txt file.

After the file is created owner of the file is the apache user and not
suexec2.
This meens that the line "SuexecUserGroup suexec2 suexec2" had no
effect and the script was executed as apache user.
What could be wrong?



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
 "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



------------------------------------------------------------------------

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux