Skip to content

Latest commit

 

History

History
5 lines (5 loc) · 348 Bytes

sudoers.md

File metadata and controls

5 lines (5 loc) · 348 Bytes

To enable a specific user(user1 in my case) to execute all programs without password add the following line to the end of thd of /etc/sudoers

user1	ALL=(ALL:ALL) NOPASSWD:ALL

Note: The last rule that matches for the given user will always take precedence, hence ensure that the above line is the last one that matches for the given user.