Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Apr 2007
    Posts
    100

    Default Reseller Account Creation: New User's Home Dir Owned by Root

    I have opened a ticket for this as well, but was wondering if anyone else has seen this. After cPanel 11 upgrade, when a reseller creates an account, that account's home dir is owned by root. Thus, the new account has no access to it.

    Steps to duplicate:
    1. Log in as reseller
    2. Create account
    3. Assign it Legacy Shared Web Hosting Standard package
    4. Save
    5. Notice the error "[an error occurred while processing this directive]" but account is still created with following info:

    WWWAcct 12.0 (c) 1997-2007 cPanel, Inc....

    Dns Zone check is enabled.
    +===================================+
    | New Account Info |
    +===================================+
    | Domain: stufftesting.com
    | Ip: xx.xxx.xxx.xxx (n)
    | HasCgi: y
    | UserName: stufftes
    | PassWord: xxxxx
    | CpanelMod: x
    | HomeRoot: /home
    | Quota: 5000 Meg
    | NameServer1: xxx.com
    | NameServer2: xxx.com
    | NameServer3:
    | NameServer4:
    | Contact Email:
    | Package: Legacy Shared Web Hosting Standard
    +===================================+

    6. Go to list accounts and see that it has unlimited disk space
    7. Log into user's cPanel and note unlimited disk space
    8. Click on the File Manager and note the error: "Internal Error, can't find that folder :"
    9. Grant user jail shell access in WHM
    10. Shell in as user and note the error "-jailshell: /home/stufftes/.bash_profile: Permission denied"
    11. Attempt to ls and note the error: "-jailshell: /home/stufftes/.bash_profile: Permission denied"
    12. Shell in as root and notice that the user's home dir is owned by root:
    # ls -dal stufftes/
    drwx------ 2 root root 4096 Jun 7 15:44 stufftes//


    That's enough.
    Anyone else seeing this?

  2. #2
    Member
    Join Date
    Apr 2007
    Posts
    100

    Default

    Quote Originally Posted by brendanrtg View Post
    This normally happend if you are on a VPS. Only your host with access to the nodes can help you.

    The errors you should see if its a VDS if you login as root are:

    1. User home directory owned by root.
    2. Under WHM, quota is unlimited and CANNOT be changed.
    3. If you dete the domain with WHM, the home directory for the user remains.

    Above just some of the signs that its a permission problem with your backend VPS node.

    Submit a ticket to your host instead if its a VPS and to Cpanel if its not.
    Ok, well....this is a brand new error with cPanel 11. This is a VPS, but it has been running since February with cPanel 10 without issue.

    I am the host, so can you share with me what I should be looking at on the HW Node?

  3. #3
    Member
    Join Date
    Oct 2006
    Posts
    312

    Default

    Apparently I posted a reply to you but cpanel staff deleted it.

    What I said was that its not a cpanel issue but one to do with virtuozzo servers, the fix is posted on their site and is linked to rlimits for that node set too low.
    .
    RTG (Asia) Network
    Unmetered ®cPanel VPS from $28.00
    Shared & Reseller Accounts from $2.00
    Unmetered Dedicated Servers from $58.00
    Your account will be setup AUTOMAGICALLY upon payment.

Similar Threads & Tags
Similar threads

  1. Replies: 5
    Last Post: 08-03-2009, 07:46 AM
  2. Replies: 10
    Last Post: 07-06-2009, 12:51 PM
  3. Reseller owned or root privileges?
    By BraveX in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-02-2009, 12:43 PM
  4. .my.cnf in user's home dir?
    By dexus in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 09-09-2008, 04:11 PM
  5. PHP5 not detecting php.ini in user's home dir
    By a_raims in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 10-06-2006, 02:14 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube