Make sudo ask for password on raspberry pi

sudo-1024x335 (Demo)
Advertisements by Google

By default on raspberry OS, sudo won’t ask for password when invoked.

If you want to insert the password when you type sudo you need to comment with # this file:

Advertisements by Google

/etc/sudoers.d/010_pi-nopasswd

Advertisements by Google

Related Posts

Leave a comment

Privacy Preferences
When you visit our website, it may store information through your browser from specific services, usually in form of cookies. Here you can change your privacy preferences. Please note that blocking some types of cookies may impact your experience on our website and the services we offer.
%d bloggers like this: