* udisks/upower 等用のpolicykit設定 [#md3a825f]
- ページ: [[不具合報告/Plamo64-1.0]]
- 投稿者: TenForward
- 優先順位: 低
- 状態: 完了
- カテゴリー: 不具合報告
- 投稿日: 2011-03-07 (月) 16:34:17
- バージョン:
** メッセージ [#bfb7dd82]
どのようなルールにするのか検討が必要.
以下参考.
*** ubuntu の policykit-desktop-privileges パッケージ [#l7f97547]
/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
というファイルを置いている.
*** Arch Linux の参考 [#bbc1dbd1]
ユーザを storage グループ,power グループに所属させて,
-https://wiki.archlinux.org/index.php/Xfce#Xfce_4.8
にあるような設定を /etc/polkit-1/localauthority/50-local.d/ あたりに置く.
--------
- 昨日 Plamo-test 以下に置いたパッケージ群では,Arch Linux の例のようなファイルを置くようにしてみました. -- [[TenForward]] &new{2011-03-09 (水) 02:56:02};
- plamo64-0.3-110408_dvd.iso から入れてみたら,PolicyKit のルールと全く関係なく一般ユーザで何でも出来てしまう... -- [[TenForward]] &new{2011-04-27 (水) 16:36:27};
- 不要な気がするけど,まあ設定は置いたままにして,完了にしておこう. -- [[TenForward]] &new{2011-12-20 (火) 12:21:20};
#comment