Skip to main content

Missing /var/cpanel/users/system file. Cannot create reseller account without associated domain

Comments

9 comments

  • quietFinn
    That document is deprecated, maybe this works:
    0
  • cPRex Jurassic Moderator
    Thanks @quietFinn
    0
  • pqpier
    Should I do anything to undo what I've done up to step 5? Or can I just leave it like that?
    0
  • pqpier
    Also, the purpose of doing this was to allow an employee to list all accounts and be able to access their cpanel dashboard. I just followed the steps and when I logged in as the new user, I couldn't see no accounts under List accounts. What am I missing here?
    0
  • cPRex Jurassic Moderator
    Honest perspective - this is a "hackaround" to get functionality from WHM that doesn't really exist. I would just create a normal account with a domain that will never be used. You could name it adminaccess.com or anything you wish, since it will never have DNS. That would likely be much easier than any manual workarounds that may or may not continue to work in the future.
    0
  • pqpier
    Honest perspective - this is a "hackaround" to get functionality from WHM that doesn't really exist. I would just create a normal account with a domain that will never be used. You could name it adminaccess.com or anything you wish, since it will never have DNS. That would likely be much easier than any manual workarounds that may or may not continue to work in the future.

    Ok, but, how to grant access to that account so it can list all server accounts and manage their cpanel dashboard? There has to be a way. It can't be that I have to give root level access to an employee so he can do something as simple as list and manage accounts (with limits).
    0
  • cPRex Jurassic Moderator
    In order for the reseller user to see all the other accounts on the machine, and not just those under their own reseller, they would need to be granted all privileges, so it is essentially root-level access. That is the main function of the root user, being an administrator to all accounts, so there isn't really a way around that or a lesser permission that will get you there.
    0
  • pqpier
    In order for the reseller user to see all the other accounts on the machine, and not just those under their own reseller, they would need to be granted all privileges, so it is essentially root-level access. That is the main function of the root user, being an administrator to all accounts, so there isn't really a way around that or a lesser permission that will get you there.

    If I were to change owner of all accounts to be that user, would that cause any issues? And one this is to manage all accounts, I'm ok with that. I have backups. Another thing is to grant an access that, if misused, could shut down or kill the entire server.
    0
  • cPRex Jurassic Moderator
    I suppose not, since root would still have access and can do anything that needs to happen overall. That could be a good solution if you didn't want to provide the admin with full access to the system.
    0

Please sign in to leave a comment.