Quantcast
Viewing latest article 9
Browse Latest Browse All 14

Answer by Eric Landry for Execute sudo without Password?

Nice one-liner to remove sudo prompts for the current user

sudo bash -c 'echo "$(logname) ALL=(ALL:ALL) NOPASSWD: ALL" | (EDITOR="tee -a" visudo)'

Viewing latest article 9
Browse Latest Browse All 14

Trending Articles