Ansgar Burchardt <"Ansgar Burchardt"@43-1.org> writes: > As you only want to manage a single partition, I would try to use the > 'filesystem-fstab' and 'encrypted-unlock-crypttab' actions which should > only apply to specific devices instead of the '*-system' actions: add > the 'x-udisks-auth' option to the /etc/fstab and /etc/crypttab entries > and allow using them by the active user without a password prompt: > > +--- > | [Allow active user to mount x-udisks-auth filesystems] > | > Action=org.freedesktop.udisks2.filesystem-fstab;org.freedesktop.udisks2.encrypted-unlock-crypttab > | ResultActive=yes > +---[ /etc/polkit-1/localauthority/50-local.d/x-udisks-auth.pkla ] > > See man:pklocalauthority(8) for documentation of the *.pkla files.
Ah, and I just noticed that the "Identity=" is not optional. So that needs an additional Identity=unix-user:* (Or a username instead of "*".) Ansgar