<div dir="ltr"><div class="gmail_quote"><div><br></div><div class="gmail_default" style="font-family:arial,sans-serif">Hi, </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
It really depends on the policykit setup.<br></blockquote><div><span class="gmail_default" style="font-family:arial,sans-serif">it is, I'm sure even i'm not good at polkit (or even i didn't know polkit, i still believe there is some config</span></div><div><span class="gmail_default" style="font-family:arial,sans-serif">control over this) </span></div><div><span class="gmail_default" style="font-family:arial,sans-serif">i'm saying of the default behavior after installation. </span> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
e.g. if the user is in the wheel group, they may have additional<br>
privileges by virtue of that.<br>
<br>
On my systems (centos 8 here) policykit will prompt for the root password:<br></blockquote><div><div class="gmail_default" style="font-family:arial,sans-serif"></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
[user@host ~]$ systemctl poweroff<br>
<br>
==== AUTHENTICATING FOR org.freedesktop.login1.set-wall-message ====<br>
<br>
Authentication is required to set a wall message<br>
<br>
Authenticating as: root<br>
<br>
Password:<br><br></blockquote><div><div class="gmail_default" style="font-family:arial,sans-serif">while my systemctl halt prompt the 'same as system shutdowm' you mentioned </div><div class="gmail_default" style="font-family:arial,sans-serif">did you try systemctl reboot (if you didn't adjust polkit config from the default one)</div></div><div class="gmail_default" style="font-family:arial,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,sans-serif">It's really strange to have a non-privileged user reboot access by default, isn't. </div><div class="gmail_default" style="font-family:arial,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,sans-serif"><br></div><div><br></div><div class="gmail_default" style="font-family:arial,sans-serif">AN</div><div class="gmail_default" style="font-family:arial,sans-serif"></div></div></div>