]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/systemctl/systemctl.c
systemctl: relax permission checks in halt_main()
authorIvan Shapovalov <intelfx100@gmail.com>
Wed, 9 Sep 2015 13:06:49 +0000 (16:06 +0300)
committerIvan Shapovalov <intelfx100@gmail.com>
Thu, 10 Sep 2015 11:45:00 +0000 (14:45 +0300)
commit2ac3930f5b5fb06c7bd959c2ea8667554fceccfe
treea1bdbbf0e1c532258e5c231c1a4055038955abdc
parenta9085ea35628fa0bfeb3b48fb53f7b823081ad09
systemctl: relax permission checks in halt_main()

Thus we allow (non-interactive) polkit auth to kick in for legacy commands
(halt, poweroff, reboot, telinit) as well.

Fixes (another aspect of) issue #213.
src/systemctl/systemctl.c