Skip to main content

Add Users to Sudoers File

Comments

4 comments

  • cPanelMichael
    Hello, You should be able to use the "su" command if you are attempting to switch from your "root" SSH session into a user's SSH session. EX:
    [root@server1 centos]# su test123 [test123@server1 centos]$
    Thank you.
    0
  • Maor Bar
    Thank you!
    0
  • joburg
    I think the answer provided for the thread topic is a bit different? I actually want to do exactly as the topic says: I want to add a cpanel user (test) to the sudoers file. Such that user "test" can do what root can do by prepending sudo to all commands. thanks
    0
  • cPanelMichael
    I think the answer provided for the thread topic is a bit different? I actually want to do exactly as the topic says: I want to add a cpanel user (test) to the sudoers file. Such that user "test" can do what root can do by prepending sudo to all commands.

    You can find information about how to do this under the "Important" section on the following document: Manage Wheel Group Users - Version 68 Documentation - cPanel Documentation Thank you.
    0

Please sign in to leave a comment.