Hi Mantas, That was the advice that I needed. I modified our Yocto build to include polkit, added datetime group to our user and now it’s working. Thanks, Greg From: Mantas Mikulėnas <grawity@xxxxxxxxx> Systemd D-Bus services use polkit for authorization when the message is sent by someone not uid 0. Depending on which version you have, you can write a .pkla file (Debian) or a _javascript_ function (other distros) that allows a specific
action for a specific user or group. You'll want to allow the "org.freedesktop.timedate1.set-timezone" action (see `pkaction`). Recent versions have some documentation in `man 8 polkit`. If the system doesn't have polkit installed, then all you have is the hardcoded "uid == 0" check. (Polkit *is* the configuration facility for that.) On Wed, Feb 17, 2021 at 8:18 PM Greg Wilson-Lindberg <GWilson@xxxxxxxxxxxx> wrote:
-- Mantas Mikulėnas |
_______________________________________________ systemd-devel mailing list systemd-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/systemd-devel