Dne 8.11.2009 17:20, Jan Ritzerfeld napsal(a):
Am Sonntag, 8. November 2009 schrieb Tomas Konir:
Dne 8.11.2009 09:36, Jan Ritzerfeld napsal(a):
Am Samstag, 7. November 2009 schrieb Tomas Konir:
Hi
Is there anyone, who know, how to disable adding acl rule for current user to /dev/snd/* after logon ?
Maybe by adding a modified "org.freedesktop.hal.device-access.sound" default privilege setting[0] to /etc/polkit-default-privs.local?
Thanks, but it didn't help. After login getfacl /dev/snd/* still shows new acl for logged user.
You need to run set_polkit_default_privs[0] manually: In /etc/polkit- default-privs.local I added "org.freedesktop.hal.device-access.sound" with "auth_admin" onyl and rebooted. /var/run/hald/acl-list still showed changes to /dev/snd/*. But after excuting set_polkit_default_privs the entries were gone and getfacl did not list me as a user anymore for, e.g., /dev/snd/controlC0.
According to /etc/sysconfig/security, set_polkit_default_privs gets called by SuSEconfig, but that does not seem to work.
Gruß Jan
[0] there is a section in the openSUSE docs for PolicyKit, especially for modifying and setting privileges: http://www.novell.com/documentation/opensuse111/opensuse111_security/?page=/...
After exicuting set_polkit_default_privs it works as i want. Thank you and regards. MOJE -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org