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?
Update
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 shutdown
or reboot
with sudo
. Next, I opened up a terminal and entered reboot
(no sudo
and I get the same password dialog). I may need to file a bug report for this...
/etc/sudoers
or a file in/etc/sudoers.d
if it exists -- if not it's some dunderheaded functionality added to the GUI interface and you will not be able to modify it.