"폴킷"의 두 판 사이의 차이
(새 문서: 폴킷(polkit, 과거 이름: 폴리시킷/PolicyKit)은 유닉스 운영 체제의 시스템 전반에서 인증 단계를 통제하기 위해 만들어진 프로그램이다. ==관...) |
|||
3번째 줄: | 3번째 줄: | ||
==관련에러== | ==관련에러== | ||
* "authentication is required to create a color profile" | * "authentication is required to create a color profile" | ||
− | 취소하거나 | + | |
− | 다음파일을 추가한다. /etc/polkit-1/localauthority.conf.d/02-allow-colord.conf | + | 취소하거나 다음파일을 추가한다. /etc/polkit-1/localauthority.conf.d/02-allow-colord.conf |
− | <syntaxhighlight> | + | <syntaxhighlight lang="text"> |
polkit.addRule(function(action, subject) { if ((action.id == | polkit.addRule(function(action, subject) { if ((action.id == | ||
“org.freedesktop.color-manager.create-device” || action.id == | “org.freedesktop.color-manager.create-device” || action.id == | ||
15번째 줄: | 15번째 줄: | ||
subject.isInGroup(“{group}”)) { return polkit.Result.YES; } }); | subject.isInGroup(“{group}”)) { return polkit.Result.YES; } }); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | [[분류:리눅스]] |
2021년 8월 14일 (토) 09:39 판
폴킷(polkit, 과거 이름: 폴리시킷/PolicyKit)은 유닉스 운영 체제의 시스템 전반에서 인증 단계를 통제하기 위해 만들어진 프로그램이다.
관련에러
- "authentication is required to create a color profile"
취소하거나 다음파일을 추가한다. /etc/polkit-1/localauthority.conf.d/02-allow-colord.conf
polkit.addRule(function(action, subject) { if ((action.id ==
“org.freedesktop.color-manager.create-device” || action.id ==
“org.freedesktop.color-manager.create-profile” || action.id ==
“org.freedesktop.color-manager.delete-device” || action.id ==
“org.freedesktop.color-manager.delete-profile” || action.id ==
“org.freedesktop.color-manager.modify-device” || action.id ==
“org.freedesktop.color-manager.modify-profile”) &&
subject.isInGroup(“{group}”)) { return polkit.Result.YES; } });