Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Unable to login to cPanel after changing user group

Discussion in 'General Discussion' started by bakhlawa, Aug 1, 2008.

  1. bakhlawa

    bakhlawa Registered

    Aug 1, 2008
    Likes Received:
    Trophy Points:
    I have a username that was able to log into ssh and cPanel just fine.

    However, in ssh it would not let me run "su" or "su -" for the user (it used to complain of a path not found error). So I added the user to the wheel group and presto, "su" works for the user now.


    Now I get an error message each time I log into ssh:
    grep: /var/cpanel/users/username: Permission Denied

    AND WORSE....

    I can't log into cPanel anymore. Even when trying the root username and password.

    I've tried resetting the password in WHM for the user in the hope this would reset the user's group settings as well, but no luck. I don't want to try deleting the user and recreating it in WHM because the domain associated with the user (i.e. /home/username/public_html) has a live site in it.

    :confused: Help would be appreciated. I can't understand what's wrong but can only trace it back to happening after I added the user to the wheel group. I can't get into cPanel and that is making administering the domain very difficult!

    Thanks in advance.
  2. Stefaans

    Stefaans Well-Known Member

    Mar 5, 2002
    Likes Received:
    Trophy Points:
    Vancouver, Canada
    You should not use the root username. Try using the account username with the root or reseller password.

    The topic of your post suggests you changed the usergroup too, but you do not give any details of this action in your post itself. If you did change the user's group, you should change it back to what it was.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice