Nocser Technology | Main Page
Please Login or Register

Knowledgebase

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

  1.  
    1. login as root
    2. nano /etc/sudoers or visudo
    3. 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

  1.  
    1. login as root
    2. nano /etc/sudoers or visudo
    3. uncomment "%wheel ALL=(ALL) ALL" or add this line is it not exist

 



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
Prevent PHP Spammer (Views: 633)
ping: unknown host (Views: 650)

Powered by WHMCompleteSolution

Language:

Quick Navigation

Client Login

Email

Password

Remember Me

Search



Follow Us on Twitter