Page 2 of 31 FirstFirst 123412 ... LastLast
Results 21 to 40 of 609

Thread: [HOWTO] mod_ruid2

  1. #21
    Join Date
    Nov 2009
    Posts
    31
    Are you using somehow in mod_ruid2:

    RDocumentChrRoot - Set chroot directory and the document root inside

  2. #22
    Join Date
    May 2008
    Location
    The Netherlands
    Posts
    1,185
    I haven't but maybe we should. As I understand it, its just an replacement for a regular DocumentRoot. It would mean that DocumentRoot should be replaced with RDocumentChRoot in the templates.

    As it is yet another extra chroot, you could run into problems so before rolling it out for all domains you could test it first on one or a few domains. I'm gonna see what happens.

    edit: tried a bit, and I don't get it working. You need 2 parameters:

    RDocumentChRoot /home/user /domains/domain.tld/public_html

    (so I just made a space between user /domains)

    And I get
    CRITICAL ERROR ruid_setup:cap_set_proc failed
    domain.tld GET / HTTP/1.1 chroot to /home/user failed

    So I'll leave this for now.
    Last edited by Arieh; 10-05-2010 at 06:19 AM.

  3. #23
    Join Date
    Dec 2007
    Posts
    102
    daveyw, maybe worth to add in HowTo few more changes.
    If customers use perl or cgi scripts need to change permissions to these files:
    Code:
    find /home/*/domains/*/public_html  -type f -name '*.cgi*' -exec chmod 755 {} \;
    find /home/*/domains/*/public_html  -type f -name '*.pl*' -exec chmod 755 {} \;
    find /home/*/domains/*/public_html  -type f -name '*.pm*' -exec chmod 755 {} \;

  4. #24
    Join Date
    Jan 2008
    Location
    /dev/null
    Posts
    702
    snk, just added the items to my HowTo. Thanks
    Why most people reboot the server when they have a problem

  5. #25
    Join Date
    May 2010
    Posts
    7
    Quote Originally Posted by daveyw View Post
    snk, just added the items to my HowTo. Thanks
    Version 0.9.1 of mod_ruid2 is released a few days ago.

    http://sourceforge.net/projects/mod-ruid/files/latest/

    This version drops the CAP_DAC_READ_SEARCH privilege if possible (no stat mode)

    Ps. mind @ da forum == mind04 @ sourceforge

  6. #26
    Join Date
    Dec 2007
    Posts
    102
    mind, thank you for update.

  7. #27
    Join Date
    Jan 2008
    Location
    /dev/null
    Posts
    702
    Updated also my first post, with the new version.
    Why most people reboot the server when they have a problem

  8. #28
    Join Date
    Mar 2005
    Location
    Kingdom of Bahrain
    Posts
    961
    thanks but suPHP better

    Wael

  9. #29
    Join Date
    Jan 2008
    Location
    /dev/null
    Posts
    702
    Quote Originally Posted by @how@ View Post
    thanks but suPHP better
    Everyone his own thing, we like mod_ruid(2) more

    We have no problems with mod_ruid2 since we are using it, and our servers are more safe now

    But everyone is free to take his own decision
    Why most people reboot the server when they have a problem

  10. #30
    Join Date
    Jun 2003
    Location
    California
    Posts
    26,122
    Quote Originally Posted by @how@ View Post
    thanks but suPHP better
    Do you have a reason? Or is this just your opinion?

    Jeff
    +1 951 643-5345
    Third-Party DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

  11. #31
    Join Date
    Mar 2005
    Location
    Kingdom of Bahrain
    Posts
    961
    opinion, but mod_ruid faster.

    Wael

  12. #32
    Join Date
    Jun 2003
    Location
    California
    Posts
    26,122
    Quote Originally Posted by @how@ View Post
    opinion, but mod_ruid faster.
    On a server with insufficient resources this makes sense, since running PHP as a cgi definitely uses more resources.

    I'm curious if anyone has tested mod_ruid on older servers or smaller VPS servers, where PHP as cgi often has problems.

    Jeff
    +1 951 643-5345
    Third-Party DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

  13. #33
    Join Date
    Nov 2009
    Posts
    31
    Somebody knows why these errors appearing?

    [Thu Nov 11 14:19:36 2010] [error] mod_ruid2 CRITICAL ERROR ruid_setup:cap_set_proc failed
    [Thu Nov 11 14:19:36 2010] [error] mod_ruid2 CRITICAL ERROR ruid_uiiii:cap_set_proc failed before setuid
    [Thu Nov 11 14:19:36 2010] [error] mod_ruid2 CRITICAL ERROR ruid_setup:cap_set_proc failed
    [Thu Nov 11 14:19:36 2010] [error] mod_ruid2 CRITICAL ERROR ruid_uiiii:cap_set_proc failed before setuid
    [Thu Nov 11 14:19:36 2010] [error] mod_ruid2 CRITICAL ERROR ruid_setup:cap_set_proc failed
    [Thu Nov 11 14:19:36 2010] [error] mod_ruid2 CRITICAL ERROR ruid_uiiii:cap_set_proc failed before setuid
    [Thu Nov 11 14:19:36 2010] [error] mod_ruid2 CRITICAL ERROR ruid_setup:cap_set_proc failed
    [Thu Nov 11 14:19:36 2010] [error] mod_ruid2 CRITICAL ERROR ruid_uiiii:cap_set_proc failed before setuid
    [Thu Nov 11 14:19:36 2010] [error] mod_ruid2 CRITICAL ERROR ruid_setup:cap_set_proc failed
    [Thu Nov 11 14:19:36 2010] [error] mod_ruid2 CRITICAL ERROR ruid_uiiii:cap_set_proc failed before setuid

  14. #34
    Join Date
    Mar 2005
    Location
    Kingdom of Bahrain
    Posts
    961
    Quote Originally Posted by jlasman View Post
    On a server with insufficient resources this makes sense, since running PHP as a cgi definitely uses more resources.

    I'm curious if anyone has tested mod_ruid on older servers or smaller VPS servers, where PHP as cgi often has problems.

    Jeff
    tested in old server p4 and vps cpu 1gz work better then before lol
    mod_ruid2 better then suphp

    Wael

  15. #35
    Join Date
    Jul 2010
    Posts
    58
    thanks... alot bro..!

  16. #36
    Join Date
    Oct 2007
    Posts
    88
    I use now Apache ITK (http://mpm-itk.sesse.net/)

    Which is better mod_ruid2 or mpm-ITK?

  17. #37
    Join Date
    Dec 2007
    Posts
    102
    for some admins ruid2 is better than other solution.
    some time ago i did my own tests. by my tests ruid2 faster.

    iprodua, if you want you can contact me (i can speak russian .

  18. #38
    Join Date
    Oct 2007
    Posts
    88
    Quote Originally Posted by snk View Post
    for some admins ruid2 is better than other solution.
    Some time ago i did my own tests. By my tests ruid2 faster.

    Iprodua, if you want you can contact me (i can speak russian .
    thnx...)))

  19. #39
    Join Date
    Feb 2005
    Posts
    249
    Sounds like a very nice option, but reading a little bit it looks like it could be insecure to run a default centos kernel with this? What are the real risks involved?

    Cheers!

  20. #40
    Join Date
    Aug 2005
    Location
    Spain
    Posts
    689
    Hello, I am very interested in using this mod. For safety reasons basically and for speed if that's a side effect.

    But I'm a bit scared to use it. Would it be recommened in a shared server scenerio with 90 users and 300 sites for example?
    New CyberAdmin Skin! DirectAdmin is just not the same without CyberAdmin skin. Give your customers the best web hosting control panel with the best skin in the market!

    Whitelabel,Responsive,Beautiful,3 Intelligent navigation methods and maintained by professionals. Check it out:
    Spanish: http://www.cyberneticos.com/cyberadmin.php
    English : http://www.cyberneticos.com/en/cyberadmin.php

Page 2 of 31 FirstFirst 123412 ... LastLast

Similar Threads

  1. mod_Security2 & mod_ruid2 compatibility
    By Peter Laws in forum General Technical Discussion & Troubleshooting
    Replies: 0
    Last Post: 01-26-2013, 01:07 AM
  2. Squirrelmail problem with mod_ruid2
    By nobaloney in forum E-Mail
    Replies: 4
    Last Post: 04-07-2012, 10:04 AM
  3. Is my mod_ruid2 correct installed?
    By Aar in forum General Technical Discussion & Troubleshooting
    Replies: 9
    Last Post: 10-02-2011, 09:06 AM
  4. mod_ruid2 discussion
    By Peter Laws in forum DirectAdmin General Discussion
    Replies: 0
    Last Post: 09-20-2011, 03:33 AM
  5. Add mod_ruid2 + WebDAV to custombuild
    By IT_Architect in forum Feedback & Feature Requests
    Replies: 2
    Last Post: 08-03-2011, 03:33 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •