On Sat, Nov 7, 2020 at 7:47 PM Samuel Sieb <samuel(a)sieb.net> 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(a)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.
__
Since when is a non-root user allowed to reboot "from another
terminal" (quoted from original email) window?