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:

/etc/sudoers.d/010_pi-nopasswd

Leave A Reply

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.