blob: 3720a3c375b50f6b24a6e64790da32a43ea3b801 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Please put this file in /usr/share/polkit-1/rules.d/ if SSSD is running as
// unprivileged user 'root' to allow access to the Smartcard via pcscd.
polkit.addRule(function(action, subject) {
if (action.id == "org.debian.pcsc-lite.access_card" &&
subject.user == "root") {
return polkit.Result.YES;
}
});
polkit.addRule(function(action, subject) {
if (action.id == "org.debian.pcsc-lite.access_pcsc" &&
subject.user == "root") {
return polkit.Result.YES;
}
});
|