The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Can't log in as root user in CPanel or SSH!

Discussion in 'Security' started by Thoko, Feb 23, 2014.

  1. Thoko

    Thoko Member

    Joined:
    Feb 23, 2014
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I am able to log into WHM as root without any problems but as soon as I try to log into CPanel or SSH I have problems. I have literally not once been able to access root via those means. I had to whitelist my IP address after Brute Force protection locked me out. My SSH keys don't work, telling me that my password is wrong, so I tried creating keys without passwords. Sometimes I am asked for a password, other times I get the message permission denied (public key).
    I'm just desperate to access the file directory structure of my VPS server beyond the typical user access in CPanel so that I can do a manual edit of my PHP.ini but every method is failing me and I'm getting frustrated.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,470
    Likes Received:
    198
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. Thoko

    Thoko Member

    Joined:
    Feb 23, 2014
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Ok, thanks for that. That is useful. However I thought that logging in as root in cpanel would give me access to the location of php.ini, but I still have the same file manager access as root user
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,470
    Likes Received:
    198
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  5. Thoko

    Thoko Member

    Joined:
    Feb 23, 2014
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    That looks great but I can't install it since I still can't connect via SSH. I found the PHP option I was looking to add (CurlSSL) in the EasyApache config, so I'm rebuilding but the output has been stuck on Begin opt CurlSSL for some time now. I'm wondering if the process has failed. I'm getting tempted to just reinstall everything on my server.
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,470
    Likes Received:
    198
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Patience is a virtue. Especially when it comes to Server Administration.

    Reinstalling everything, doesn't teach you anything.
     
  7. Thoko

    Thoko Member

    Joined:
    Feb 23, 2014
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    You're right. Its just been a really long day for me.

    - - - Updated - - -

    Incidentally I've just figured out how to log in via SSH. Thanks for your help. I'll install the ConfigServer thing tomorrow
     
  8. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,470
    Likes Received:
    198
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    You're certainly welcome. Good luck! :)
     
Loading...

Share This Page