Skip to main content

Different home dir for resellers

Comments

8 comments

  • Eminds
    so you are trying to create a seperate home directory for the reseller and his account on SSD ?
    0
  • moolideejay
    so you are trying to create a seperate home directory for the reseller and his account on SSD ?

    Correct
    0
  • Jcats
    Is it possible to define the default home directory for a reseller account so the newly created users under this reseller account be in the SSD disk?

    Negative, I could be wrong but the only way I've ever known to do this is via the 'Rearrange an Account' option in WHM, you would have to give the reseller access to it so they could move it to the SSD array. I am assuming not something you would want to do so that means, monitoring newly created accounts and using the ' Rearrange an Account' option in WHM and moving them over as you see them get created. I don't see any kind of hook/API call that you can do, not even a way to do it via SSH: How to "Rearrange an Account" in SSH?
    0
  • moolideejay
    you would have to give the reseller access to it so they could move it to the SSD array.

    That's too painful! Any other ideas?
    0
  • cPanelMichael
    Hello, It's not possible to configure a default home directory for a reseller. I encourage you to vote and add feedback to the existing feature request for this at: Set home directory for reseller Thank you.
    0
  • moolideejay
    Hello, It's not possible to configure a default home directory for a reseller. I encourage you to vote and add feedback to the existing feature request for this at: Set home directory for reseller Thank you.

    I would definitely vote for this feature. In the mean time, is there an API call for "Rearrange an Account" functionality ?
    0
  • cPanelMichael
    In the mean time, is there an API call for "Rearrange an Account" functionality ?

    There is no command-line or API equivalent to this option. However, you could develop a custom script that checks if the owner is a reseller, and if so, manually moves the account's home directory after the account creation process. You'd have to review Guide to Standardized Hooks - Software Development Kit - cPanel Documentation Guide to Standardized Hooks - Whostmgr Functions - Software Development Kit - cPanel Documentation Thank you.
    0
  • moolideejay
    There is no command-line or API equivalent to this option. However, you could develop a custom script that checks if the owner is a reseller, and if so, manually moves the account's home directory after the account creation process. You'd have to review Thank you.

    Thanks for the suggestion but as you've mentioned this is an unsupported workaround and in my experience doing so would increase the chance of breaking things, so I guess we have to wait for a native option in future releases of cPanel.
    0

Please sign in to leave a comment.