Sudo Without Password

User following command to edit sudo config file “/etc/sudoer”

change the admin group’s privileges, and  move it under the line of sudo, at the end we will get this:

I don’t know why, we must put the admin group’s settings under the sudo group.

Add admin group if not exists

Append user to admin goup

Restart sudo services

 

Leave a Reply

Your email address will not be published. Required fields are marked *