* udisks/upower 等用のpolicykit設定 [#md3a825f]
どのようなルールにするのか検討が必要.
以下参考.
/var/lib/polkit-1/localauthority/10-vendor.d に
[Mounting, checking, etc. of internal drives] Identity=unix-group:admin Action=org.freedesktop.udisks.filesystem-*;org.freedesktop.udisks.drive-ata-smart* ResultActive=yes [Change CPU Frequency scaling] Identity=unix-group:admin Action=org.gnome.cpufreqselector ResultActive=yes [Setting the clock] Identity=unix-group:admin Action=org.gnome.clockapplet.mechanism.*;org.kde.kcontrol.kcmclock.save ResultActive=yes #[Disable hibernate by default] #Identity=unix-user:* #Action=org.freedesktop.upower.hibernate #ResultActive=no
というファイルを置いている.
ユーザを storage グループ,power グループに所属させて,
にあるような設定を /etc/polkit-1/localauthority/50-local.d/ あたりに置く.