On 20201107 16:47:03, Samuel Sieb wrote:
On 11/7/20 3:16 PM, jdow wrote:
On 20201107 13:21:47, Cameron Simpson wrote:
On 06Nov2020 21:50, Tom Horsley<horsley1953@gmail.com>  wrote:
For as long as I can remember I've run dnf update in a root
xterm and when all the akmod activity and wot-not is finished,
I've run reboot from another terminal.

Now, it won't reboot "because root is logged in".

Gah! Who cares if root is logged in?

Can I disable this helpful feature any way?
Dunno, but maybe you can disable what it measures. Do your xterms make
entries in wtmp (listed by "w" and "who")? Is so, ISTR that xterm has an
option to not do that (look for "wtmp" in the manual IIRC). See if
disabling that helps.

Something sounds bass akwards here. IMAO only root or an account with sudo privileges should be able to reboot the machine. And root should be able to do this at any time.

I think you're misunderstanding.  A root user is logged in and he's trying to reboot using his normal user.  The current console user is generally allowed to reboot the system.

Thank you. That detail was not part of the context included. I'll go back to sleep now.

{^_-}