FS#17188 - [pam] Introduce a common-auth pam file for use in login managers
Attached to Project:
Arch Linux
Opened by Xavier (shining) - Wednesday, 18 November 2009, 13:49 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 23 June 2012, 00:57 GMT
Opened by Xavier (shining) - Wednesday, 18 November 2009, 13:49 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 23 June 2012, 00:57 GMT
|
Details
The idea would be to have a general /etc/pam.d/common-auth
file than all login managers could re-use.
(like other distrib do ? links to other common-auth files would be useful). To quote JGC [1] : "With common-auth, we could just @include common-auth from the pam file, which is much easier." First step : create the /etc/pam.d/common-auth file Second step : make use of it at least for the /etc/pam.d/login file, and then for the main login managers, for example the main ones from inittab : kdm gdm xdm slim Affected packages and /etc/pam.d/ files : core/shadow : login extra/gdm : gdm and gdm-autologin extra/kdebase-workspace : kde and kde-np extra/xorg-xdm : xdm extra/slim : slim [1] http://mailman.archlinux.org/pipermail/arch-general/2009-November/008973.html |
This task depends upon
Closed by Dave Reisner (falconindy)
Saturday, 23 June 2012, 00:57 GMT
Reason for closing: Implemented
Additional comments about closing: Added as core/pambase
Saturday, 23 June 2012, 00:57 GMT
Reason for closing: Implemented
Additional comments about closing: Added as core/pambase
It would be sufficient to edit the common-auth files, rather than multiple files.
See
FS#17157for an example of such change.It'd be nice to have this so Gnome will behave like it was intended. Currently, on a fresh install of Gnome, you can change your settings per user to have "password: not asked at login" but it will not work.
I had to modify my /etc/pam.d/gdm file to make it work. It'd be nice to have this included by default and ready for whatever DE the user installs.
Perhaps each DE package (gnome, kde, etc) can be set up so it creates its own common-auth file when installed during pacman, or something similar.
The common files attached to the tarball are configured to use ldap, and only a few configuration files (the ones I needed) have been edited in order to rely on the common files.
I'm not a PAM expert, and cannot guarantee that this configuration is working fine, although it seems to be on my machines.
http://mailman.archlinux.org/pipermail/arch-dev-public/2012-June/023017.html