Knowledgebase
Portal Home > Knowledgebase > 5. Dedicated Servers > Specially Linux Tips > Add user to sudoers list
Add user to sudoers list
| sudoers list is the user list that allowed to execute specify command in ssh To add 1 user to sudoers list -
- login as root
- nano /etc/sudoers or visudo
- add a line without quote "username ALL=(ALL) ALL
- (replace username to the actual user name)
To add all user in wheel group to sudoers list -
- login as root
- nano /etc/sudoers or visudo
- uncomment "%wheel ALL=(ALL) ALL" or add this line is it not exist
|
Add to Favourites
Print this Article
|
Also Read
Powered by WHMCompleteSolution