Fedora Tips & Tricks
Posted on 06 Aug 2022
This is a followup post to ealier post on Fedora Mount folders without requiring passwords Usually, mount folder permission is only available to root user. In order to allow this for normal user, we need to add a policy rule for polkit sudo vi /etc/polkit-1/localauthority/50-local.d/10-mount-without-password.pkla [storage group mount override] Identity=unix-user:madhur Action=org.freedesktop.udisks2.filesystem-mount;org.freedesktop.udisks2.filesystem-mount-system ResultAny=yes ResultInactive=yes ResultActive=yes Similarly, if you want to allow normal user to manage systemd units /etc/polkit-1/localauthority/50-local.d/service-auth.pkla [Allow yourname to start/stop/restart services] Identity=unix-user:madhur Action=org.freedesktop.systemd1.manage-units ResultActive=yes...