LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-25-2010, 03:02 PM   #1
IwantLINUX
Member
 
Registered: Oct 2004
Location: India
Distribution: RH9,Fedora
Posts: 75

Rep: Reputation: 15
SuEXEC Defaults Values not changing


Hi,

There is another issue now with SuEXEC.. I have compiled apache as follow:

./configure --prefix=/usr/local/httpd2.2.16 --with-mpm=prefork --with-mpm=worker --with-included-apr --enable-ssl --enable-proxy --enable-mods-shared="most proxy" --enable-suexec --with-suexec-logfile=suexec.log --with-suexec-caller=daemon

However, even after that it is not changing the default values:

[root@redhat5 bin]# ./suexec -V
-D AP_DOC_ROOT="/usr/local/httpd2.2.16/htdocs"
-D AP_GID_MIN=100
-D AP_HTTPD_USER="www"
-D AP_LOG_EXEC="yes"
-D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
-D AP_UID_MIN=100
-D AP_USERDIR_SUFFIX="public_html"

Can someone please point out what I am doing wrong!

Additionally, how can i set the suexec documentroot to individual users home directories?

Actually this server is being used for Virtual Hosting, now what i need is if a user puts the scripts in his /home/user1/ then the scripts should run with user1 id similarly for user2 and so on.

Last edited by IwantLINUX; 11-25-2010 at 04:55 PM. Reason: Another query
 
Old 11-26-2010, 05:33 AM   #2
IwantLINUX
Member
 
Registered: Oct 2004
Location: India
Distribution: RH9,Fedora
Posts: 75

Original Poster
Rep: Reputation: 15
I got it working, now my SuEXEC is showing the correct values...

However, still need to know about the document root, though today i will be testing it with new value i.e. -D AP_DOC_ROOT="/home"

Thanks
 
Old 11-26-2010, 08:10 AM   #3
IwantLINUX
Member
 
Registered: Oct 2004
Location: India
Distribution: RH9,Fedora
Posts: 75

Original Poster
Rep: Reputation: 15
Okay.. I think I am done with both the issues... so everything seems good as for now..

Thanks all
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
httpd-2.2.3 | error - suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) jmahto Linux - Enterprise 3 07-14-2010 01:53 AM
[SOLVED] Changing hard drive mounts to defaults heberg21 Linux - Newbie 4 01-17-2010 07:55 AM
Setting password on grub, wha to do after changing default values in /boot/grub/menu. sarajevo Linux - Security 1 08-17-2005 08:01 PM
Changing defaults in ssh Koven Linux - Security 3 07-03-2005 03:15 PM
when changing values under make xconfig, need to recompile the whole kernel? sirpelidor Linux - Newbie 2 02-01-2004 11:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration