On 6/25/06, DJ Lucas <[EMAIL PROTECTED]> wrote:

Gravy!  It just works!

Cool.

Without looking too hard, something similar might be good for the
default configuration without pam_console or pam_foreground (need to
review security precautions):

groupadd -g 61 halusers
cat > /etc/dbus-1/system.d/halusers.conf << "EOF"
<!DOCTYPE busconfig PUBLIC
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd";>

<busconfig>
  <!-- Allow anyone in halusers group (gid 61) to utilize HAL -->
  <policy group="61">
    <allow
send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
    <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
    <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
    <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
  </policy>
</busconfig>

EOF

Yeah, that looks pretty good.  Another option is just to throw all the
other existing groups like cdrom, audio, etc. into one rule.

Now..any pointers on how to tweak the mountpoints?  Maybe use volname,
volname-#, and then device name as a final fallback.  Maybe just device
name always.  I'll have to play with it a bit to see what I like, but I
have no idea where to start on that.  Right now, everything comes up
removable volume for my usb keys, audio cd for audio cds, and volume
name for dvds. :-/

I don't even know how to set the policy for that.

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to