How to run sudo command without entering password

Note: it’s UNSECURE, so only use it in a controlled environment!!!

Run:

1
sudo visudo

With content:

1
your_user_name (USERID) ALL=(ALL) NOPASSWD: ALL
Share