Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 19
  1. #1
    Member
    Join Date
    Jan 2003
    Posts
    19

    Default wwwacct bug

    Hello Nick,

    I think you should move the following lines from line 791 to line 813 in /scripts/wwwacct.
    if (-e "/var/cpanel/fileprotect") {
    my $httpgid = (getpwnam('nobody'))[3];
    my $useruid = (getpwnam($user))[2];
    chown $useruid,$httpgid, "$mnt/$user/public_html";
    chmod 0750, "$mnt/$user/public_html";
    }
    cPanel.net Support Ticket Number:

  2. #2
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,514

    Default Re: wwwacct bug

    Originally posted by Arthur
    Hello Nick,

    I think you should move the following lines from line 791 to line 813 in /scripts/wwwacct.


    cPanel.net Support Ticket Number:
    Probably a good idea (thats why its marked experimental in easyapache)

    cPanel.net Support Ticket Number:

  3. #3
    Member
    Join Date
    Jan 2003
    Posts
    19

    Default

    Hi Nick,

    Another bug was found: After using WHM and Cpanel to install Frontpage, folder public_html will be chgrp to owner. Could you please fix this?

    Thank you.

    cPanel.net Support Ticket Number:

  4. #4
    Member
    Join Date
    Feb 2003
    Location
    Sachse, TX
    Posts
    567

    Default

    Originally posted by Arthur
    Hi Nick,

    Another bug was found: After using WHM and Cpanel to install Frontpage, folder public_html will be chgrp to owner. Could you please fix this?

    Thank you.

    cPanel.net Support Ticket Number:
    Hint: send in support ticket too.

    cPanel.net Support Ticket Number:

  5. #5
    Member
    Join Date
    Jan 2003
    Posts
    19

    Default

    Ticket submitted.

    cPanel.net Support Ticket Number: 19092

  6. #6
    Member
    Join Date
    May 2003
    Posts
    610

    Default

    Originally posted by Arthur
    Hi Nick,

    Another bug was found: After using WHM and Cpanel to install Frontpage, folder public_html will be chgrp to owner. Could you please fix this?

    Thank you.
    Isn't that how it's supposed to be? Isn't the group always the same as the username?



  7. #7
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,514

    Default

    Its fixed in the latest /scripts

    cPanel.net Support Ticket Number:

  8. #8
    Member
    Join Date
    Jan 2003
    Posts
    19

    Default

    Originally posted by goodmove
    Isn't that how it's supposed to be? Isn't the group always the same as the username?
    If you use webroot protection (an experimental option in easyapache), public_html will be chgrp to nobody and chmod to 750, which can avoid that someone steals other users' data via shell or cgi.

    cPanel.net Support Ticket Number:

  9. #9
    Member
    Join Date
    Feb 2003
    Location
    Sachse, TX
    Posts
    567

    Default

    Originally posted by Arthur
    If you use webroot protection (an experimental option in easyapache), public_html will be chgrp to nobody and chmod to 750, which can avoid that someone steals other users' data via shell or cgi.

    cPanel.net Support Ticket Number:
    Is this option working ok now with the latest scripts? if so, I can go rebuild my apache to add this webroot protection.

    cPanel.net Support Ticket Number:

  10. #10
    Member
    Join Date
    Jan 2003
    Posts
    19

    Default

    Originally posted by tAzMaNiAc
    Is this option working ok now with the latest scripts? if so, I can go rebuild my apache to add this webroot protection.
    Yes, Nick has fixed it.

    cPanel.net Support Ticket Number:

  11. #11
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,514

    Default

    Originally posted by tAzMaNiAc
    Is this option working ok now with the latest scripts? if so, I can go rebuild my apache to add this webroot protection.

    cPanel.net Support Ticket Number:
    I'm using it on my box now

    cPanel.net Support Ticket Number:

  12. #12
    Member
    Join Date
    Feb 2003
    Location
    Sachse, TX
    Posts
    567

    Default

    Originally posted by bdraco
    I'm using it on my box now

    cPanel.net Support Ticket Number:
    Thanks

    All sounds great! I will do this tonight.

    cPanel.net Support Ticket Number:

  13. #13
    Member
    Join Date
    Oct 2002
    Location
    Egypt
    Posts
    391

    Default

    Do I have to recompile apache or just use:
    /scripts/enablefileprotect
    ?

    cPanel.net Support Ticket Number:

  14. #14
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,514

    Default

    Originally posted by mmkassem
    Do I have to recompile apache or just use:
    /scripts/enablefileprotect
    ?

    cPanel.net Support Ticket Number:
    Just the script

    cPanel.net Support Ticket Number:

  15. #15
    Member
    Join Date
    Oct 2002
    Posts
    751

    Default

    Originally posted by Arthur
    If you use webroot protection (an experimental option in easyapache), public_html will be chgrp to nobody and chmod to 750, which can avoid that someone steals other users' data via shell or cgi.
    I don't think I quite follow what it is supposed to do then.

    If you don't run phpsuexec, people can still use php scripts to snoop around, as user nobody, in other users' directories, right?

    cPanel.net Support Ticket Number:

Similar Threads & Tags
Similar threads

  1. Reseller WWWAcct
    By binaer in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-17-2005, 12:39 PM
  2. Please use the this syntax wwwacct
    By StandBy1 in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 03-07-2004, 02:08 PM
  3. wwwacct.conf Which One?
    By jackal in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-16-2003, 12:21 PM
  4. wwwacct Problems
    By jackal in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-21-2003, 09:55 AM
  5. wwwacct and wwwacct2
    By AbeFroman in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-03-2002, 11:08 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube