I have noticed that after some update, the Pi now requires a password for rebooting or shutting down. I have a Pi 3 and I am accessing my Pi via VNC and doing the shutdown/reboot from the GUI (not the command line), if that makes any difference.
Is there any setting I can update to disable this password requirement for reboot/shutdown?
After tlhIngan's post, I did some more experimenting and it is as if the GUI for shutting down the computer is no longer prefixing
sudo. Next, I opened up a terminal and entered
sudo and I get the same password dialog). I may need to file a bug report for this...