I just went to shut down my laptop and it asked me to authenticate before I could reboot. This has never happened before, so I figured maybe a recent update changed something. After a quick search, I found that this happens when multiple users are logged in. ...odd. I'm the only one logged in. Or am I?
nathanbrauer@beast:~$ who --all
system boot 2015-09-24 13:30
run-level 2 2015-09-24 13:30
LOGIN tty4 2015-09-24 13:30 1247 id=4
LOGIN tty5 2015-09-24 13:30 1251 id=5
LOGIN tty2 2015-09-24 13:30 1257 id=2
LOGIN tty3 2015-09-24 13:30 1258 id=3
LOGIN tty6 2015-09-24 13:30 1261 id=6
LOGIN tty1 2015-09-24 13:30 1774 id=1
nathanbrauer ? :0 2015-09-24 13:30 ? 1991 (:0)
nathanbrauer + pts/0 2015-09-25 09:35 . 4173 (:0)
pts/2 2015-09-25 08:40 0 id=/2 term=0 exit=0
One of those logins is the tty7/regular login, the other is the terminal I'm running to open the command.
So, why is shutdown asking for authentication even when I exit all terminals?
Adding this as an answer then:
That's generally a symptom of having a daemon that has been started with
sudo
.