Loading...
Basic Linux

Sudo Permissions

In the terminal open Visudo file.

Enter the name to which user you are giving sudo permissions In visudo file, then save & Exit.

root ALL=(ALL)ALL
rahul ALL=(ALL) ALL
srinu ALL=(ALL) ALL

And regularly to login as a sudo user without enter password everytime add NOPASSWD as shown below to sudo user

ranak ALL=(ALL) NOPASSWD:ALL

Leave a Reply

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