[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[plamo:33297] Re: polkit with elogind -- (ConsoleKit2 を削除してみました)その2



追加の報告です。
4) USBメモリを挿し込んだときのユーザーレベルにおけるマウント

 ConsoleKit2がインストールされていたときには可能だったUSBメモリの
 ユーザーレベルにおけるマウントができなくなりました。
 Web検索した結果、 /etc/polkit-1/rules.d/49-nopasswd_global.rules
 を以下の内容で作成することで解決しました。
--- >8 --- >8 --- >8 --- >8 --- >8 ---
/* Allow members of the wheel group to execute any actions

* without password authentication, similar to "sudo NOPASSWD:"

*/

polkit.addRule(function(action, subject) {

if (subject.isInGroup("wheel")) {

return polkit.Result.YES;

}

});
--- >8 --- >8 --- >8 --- >8 --- >8 ---

引き続きテストしていきます。



[検索ページ] [メール一覧]
Plamo ML 公開システム