On 1/3/14, Brian <a...@cityscape.co.uk> wrote: > On Fri 03 Jan 2014 at 16:28:05 +1100, Zenaan Harkness wrote: >> On 12/13/13, Zenaan Harkness <z...@freedbms.net> wrote: >> > >> > Clearly consolekit is started (logout, as well as reboot etc now >> > work), my keyboard shortcuts work etc. >> > >> > This seems ideal - no per-user configuration, and it just works >> > (TM)(C)(R). >> >> This stopped working after a recent upgrade, since I too quickly >> allowed apt to overwrite my change in /etc/pam.d/common-session > > Practise safe upgrading; always say 'no'.
:) My thinking is usually "I'm running sid, feedback re default config is sometimes useful to the project and therefore benefits go beyond myself, for a little short term pain". > >From pam-auth-update(8): > > If the user specifies that pam-auth-update should override > local configuration changes, the locally-modified files will > be saved in /etc/pam.d/ with a suffix of .pam-old. > > Any sign of .pam-old files? Yes, common-session.pam-old is right there, with the "missing" line. >> Is there any reason that the following, from >> /usr/share/doc/xfce4-session/README.Debian : >> >> * install libpam-ck-connector >> * put: >> >> ---- >> session optional pam_loginuid.so >> ---- >> >> *before* pam_ck_connector.so in /etc/pam.d/common-session. >> >> is _not_ part of the default install for Debian? > > Consolekit may not be on the system. That's the point - this line: session optional pam_ck_connector.so nox11 was already there; I had to add the following line: session optional pam_loginuid.so I'm wondering why this line (directly above) cannot be included by default - it does say "optional" after all ??? >> $ dpkg -S /etc/pam.d/common-session >> dpkg-query: no path found matching pattern /etc/pam.d/common-session >> >> I guess it must be generated by a script or something. What's the >> process or rather command line command for determining which script >> created a particular file such as this one? > > brian@desktop:~$ dpkg -S common-session Ahh thank you. dpkg -S, but with "basename" not fully qualified path. > libpam-runtime: /usr/share/pam/common-session.md5sums > libpam-runtime: /usr/share/pam/common-session-noninteractive.md5sums > libpam-runtime: /usr/share/pam/common-session > libpam-runtime: /usr/share/pam/common-session-noninteractive > > libpam-runtime's postinst script copies /usr/share/pam/common-session to > /etc/pam.d/common-session. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOsGNSSZOdZ9fYgPPpU=d-W40Y31xEc2u=+aRs_d2W=ctt6...@mail.gmail.com