top of page

Tired on enter password everytime use sudo? Never again.

1. Copy file sudoers
$ sudo cp /etc/sudoers /etc/sudoers.bak 

 

2. Edit sudoers
$ sudo nano /etc/sudoers

2. Put this command at the end of he text

your_username ALL=(ALL) NOPASSWD:ALL

Done. Test you sudo :)

SUDO WITHOUT PASSWORD

bottom of page