Re: systemctl reboot/halt with non-privilege user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux