There are upcoming maintenance events which may impact our services. Learn more

Add user to sudoers list Принт

  • 0

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

 


Дали Ви помогна овој одговор?

« Назад