Add Users to Sudoers File
Hello,
I have one whm and I set 5 different domains inside him.
I want to access ssh to every domain to change permission with shell but every time I get the error
"your domain" is not in the sudoers file. This incident will be reported.
How can I work with ssh as sudo ?
thank you.
-
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 -
Thank you! 0 -
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 -
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.
Comments
4 comments