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.

[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:
    1
    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:
    18
    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
     
Loading...

Share This Page