Bug#422349: [Pkg-utopia-maintainers] Bug#422349: dbus: Please add support for integrating with libpam-foreground

Michael Biebl biebl at debian.org
Wed May 9 13:36:07 UTC 2007


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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20070509/2e3ec333/signature.pgp


More information about the Pkg-utopia-maintainers mailing list