Project

General

Profile

Feature #137

Updated by Igor Pashev almost 11 years ago

<pre> 
 $ pkexec ls                                                                                                                            
 **                                                                                                                                                           
 ERROR:pkexec.c:678:main: assertion failed: (polkit_unix_process_get_start_time (POLKIT_UNIX_PROCESS (subject)) > 0)                                          
 Abort 
 </pre> 

 Adopt PolKit RBAC backend. 

 The idea is mapping desktop privileges to RBAC, e. g.: 
 "hal-storage-removable-mount" -> "solaris.device.mount.removable"  
 and use chkauthattr() 

 Since HAL is obsolete, it need to be ported to Udisks and Upower. 

 http://cgit.osdyson.org/illumos-gate.git/tree/usr/src/lib/policykit/libpolkit/common/libpolkit-rbac.c 
 http://cgit.osdyson.org/port/polkit.git/

Back