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!

[Help]After install cPanel, normal user accoun can't use 'su -' to login in as root.

Discussion in 'General Discussion' started by cwm1021, Apr 1, 2011.

  1. cwm1021

    cwm1021 Registered

    Joined:
    Apr 7, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    151
    Hello

    I hardened the SSH by disallow direct root access. To access root, I need to login with normal user account first then use command "su -" to login as root.

    However, after install cPanel, when I sent 'su -' command with normal user, it gives me "-bash: /bin/su: Permission denied"

    It seems cPanel made some changes of permission to normal user. Now I can't find a way to login as root.

    What can I do?

    Thanks for any helps!
     
    #1 cwm1021, Apr 1, 2011
    Last edited: Apr 1, 2011
  2. yapluka

    yapluka Well-Known Member

    Joined:
    Dec 24, 2003
    Messages:
    301
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    France
    cPanel Access Level:
    Root Administrator
    Re: [Help]After install cPanel, normal user accoun can't use 'su -' to login in as ro

    You probably didn't add the user to the wheel group ?
    This can be done from WHM >> Security Center >> Manage Wheel Group Users
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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