Re: HAL issues

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



On Thu, 2009-02-12 at 15:11 -0800, Zack wrote:
> This will likely fix the problem for you. Put this in
> /etc/PolicyKit/PolicyKit.conf and restart hal, /etc/rc.d/hal restart.
> 
> <config version="0.1">
> <match user="yourusername">
>     <match action="org.freedesktop.hal.storage.*">
>         <return result="yes" />
>     </match>
>     <match action="hal-storage-mount-fixed-extra-options">
>                 <return result="yes" />
>         </match>
>         <match action="hal-storage-mount-removable-extra-options">
>                 <return result="yes" />
>         </match>
> </match>
> </config>

Remember that this configuration inside policykit will allow EACH and
EVERY user on your system to do these actions, which is wrong.
There's consolekit for this. Sessions should either be launched via kdm
or gdm which have native consolekit support, or using ck-launch-session
when starting from xinitrc. There's also a pam module that can be used,
but somehow it doesn't always work fine (slim doesn't work with it at
least).



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux