On Sat, Nov 7, 2020 at 10:22 PM Cameron Simpson <c...@cskk.id.au>
wrote:
> On 06Nov2020 21:50, Tom Horsley <horsley1...@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.

"w" and "who" look at "/var/run/utmp".

"last" looks at "/var/log/wtmp".

You can use "xterm*utmpInhibit: true" in "~/.Xresources" to prevent
xterm from updating utmp. But it's hard to believe that this is what's
messing with the other Tom H's system. Maybe...
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to