Removing sudo password is typically not a good practice. If you’re a seasoned system administrator, or you’re the only one using your own desktop, being prompted for a sudo password can get really annoying. Here’s how to stop getting prompted every time you run sudo.

Run visudo.

<pre lang="bash">
sudo visudo

Edit the sudo line and set to below.

<pre lang="bash">
%sudo ALL=(ALL) NOPASSWD: ALL

Save file.