I have script running from non-privileged user. It is important, so systemd-inhibit is a good idea. But I get error when trying to inhibit from that user
systemd-inhibit sleep 10
Failed to inhibit: Access denied
This user not so trusted to put him in "wheel" group. How can I grant permission to that user to run systemd-inhibit? (PolicyKit?)