diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-06-13 00:57:28 -0400 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2016-06-13 07:57:28 +0300 |
commit | 988b3b1765153051d48f1b47f42e78d02d2f7a9a (patch) | |
tree | 941458171ccf6241faf9f49f0e8a3e770fb06439 /src/hostname/Makefile | |
parent | ba4cd7e2573e591aa120655414d911f1a1882fe1 (diff) |
systemctl: disallow systemctl --user reboot (#3519)
... as well as halt/poweroff/kexec/suspend/hibernate/hybrid-sleep.
Running those commands will fail in user mode, but we try to set the wall
message first, which might even succeed for privileged users. Best to nip
the whole sequence in the bud.
https://github.com/systemd/systemd/pull/3453#issuecomment-225455156
Diffstat (limited to 'src/hostname/Makefile')
0 files changed, 0 insertions, 0 deletions