logind: enable wall messages by default
authorLudwig Nussel <ludwig.nussel@suse.de>
Tue, 14 Dec 2021 14:55:55 +0000 (15:55 +0100)
committerLudwig Nussel <ludwig.nussel@suse.de>
Tue, 25 Jan 2022 13:52:14 +0000 (14:52 +0100)
commitcdf370626f08ed509a5dde9d5618eed29d625032
tree30642764ceb53604d2d41e02b4ba0f40fb9093a6
parentadefc8789b63225662e50ceaa282f9553b5c64eb
logind: enable wall messages by default

Something calling directly into the dbus interface to request a
shutdown may not bother turning wall messages on explicitly.

This has the convenient side effect that no separate polkit auth is
required to turn on wall messages. Was annoying as having a wall
message is the default behavior of the commandline tools. Now it's
the other way around ie eg systemctl reboot --no-wall requires auth
to explicitly turn off the wall message.
src/login/logind.c