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!

Su with another user

Discussion in 'General Discussion' started by screege, Apr 3, 2007.

  1. screege

    screege Well-Known Member

    Joined:
    Aug 11, 2004
    Messages:
    190
    Likes Received:
    0
    Trophy Points:
    166
    Maybe this is a real dumb question but I do not know ho to add a user via shell and then let that user and him only to su to root disabling the root login on the sshd_config. Can anyone help me?

    Thank you
     
  2. mctDarren

    mctDarren Well-Known Member

    Joined:
    Jan 6, 2004
    Messages:
    664
    Likes Received:
    3
    Trophy Points:
    168
    Location:
    New Jersey
    cPanel Access Level:
    Root Administrator
    useradd will add the account for you. Adding the account to the wheel group will let them su to root. You can actually do that easily through WHM if it's more comfortable.
     
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