Uly.me

cloud engineer

  • Home
  • About
  • Archives
Home/Archives for nopasswd

July 28, 2020

Remove Sudo Password

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.

sudo visudo

sudo visudo

Edit the sudo line and set to below.

%sudo ALL=(ALL) NOPASSWD: ALL

%sudo ALL=(ALL) NOPASSWD: ALL

Save file.

  • Cloud
  • Linux
  • Git

Copyright © 2012–2021