Am 28.10.20 um 12:40 schrieb An Liu:
Hi, folks,
I used to type systemctl reboot with non-privileged users, and to my
surprise, the system goes down for the reboot.
I've tested in both debian and centos 7, they act the same, however,
systemctl halt will prompt you to enter administrator password to continue.
which shows it's configureable
Is it default behavior by design? I dont think a non-privileged user
could reboot the system as he/she wishes.
btw, I'm in an HPC related domain, if this behavior of systemctl is
allowed, every single user could reboot the whole cluster as they wish,
it's a disaster.
https://bbs.archlinux.org/viewtopic.php?id=152565
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel