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
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.