Petter Reinholdtsen wrote: > Package: dbus > Version: 1.0.2-1 > Tags: patch > > For local hotplug devices to work in a large installation, with > thousand of machines and tens of thousand of users, like here at the > University of Oslo where I work, it is not possible to add users > globally to the plugdev group. > > The supported solution from dbus and hal seem to be to use the > pam_console module available from the pam-redhat package, and let it > create /var/run/console/<username> when the user log in, and remove it > when it logs out again. The pam-redhat package is not in Debian. > > An alternative solution is to use the libpam-foreground PAM module to > pass information about locally logged in users as > /var/run/console/<username>:<console#>, and patch dbus to recognize > these files as well. This is the approach used by Debian at the > moment, and they use this patch. Please apply it to the Debian > version of dbus, to make it possible to enable hotplug devices in a > large scale installation.
Please keep in mind, that all config files in /etc/dbus-1/system.d/ have to be revised. Most of them have completely patched out support for pam_console and replaced it with the corresponding group membership (using plugdev,netdev or powerdev). To actually make libpam-foreground work all these config files should, instead of patching out support for pam_console, simply add an additional section using group memberships (as does e.g. hal.conf). Cheers, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature

