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.

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:
    186
    Likes Received:
    0
    Trophy Points:
    16
    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:
    2
    Trophy Points:
    18
    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