fyi - the new RaspiOS released on April 21st has hardened sudo by default, so you will be prompted for the user's password in order to use sudo. This will break any scripts/automations/etc. that rely on passwordless sudo.
The latest raspi-config' command has menu picks to reenable the old behavior
- run 'sudo raspi-config'
- enter the account password just this once
- select '1. System Options'
- select 'S10 Admin Password'
- pick <No> when asked "Would you like the admin (sudo) password to be enabled?"
- pick <Ok> to get back to the main menu
- pick <Finish> to exit raspi-config
- at that point your account will not need to enter a password to use sudo
Bottom line - when you image your pi make sure you know your 'pi' user password as you'll need it at least once to reenable the old behavior.
[...please - no followups re: whether reverting to the old behavior is good or bad, I'm just passing along the breaking change before we get a zillion posts for newly flashed systems....]
Lastly - the raspi forums and skeletal release information says upgrades shouldn't be affected by this change. I didn't test this. I simply reflashed a pi using the Lite version of the os.