On 10/22/19 12:09 AM, Ken Moffat via blfs-dev wrote:
On Mon, Oct 21, 2019 at 10:31:25PM +0200, Tim Tassonis via blfs-dev wrote:
Hi all
I just studied the elogind page, where it says that I should modify
/etc/pam.d/system-session, to include the elogind stuff.
I'm a bit reluctant to do so, as I've got several systems running as servers
and routers, with no graphical user interface and no dbus present.
As I understand it, elogind is only required for the gui part, so would it
not be possible to only include
session required pam_loginuid.so
session optional pam_elogind.so
to the display manager pam config?
I agree it isn't needed for a server where xorg is not running, but
I'm not sure what you mean about adding it to the display manager
pam config : it is needed even for just using startx.
Ok, if you boot into runlevel 3 and then use startx, your login is done
on the console, then you'll need it probably.
But if I'm running runlevel 5, the first login is done by the display
manager, so I assume that's the moment elogind pam kicks in. There is no
previous call to pam in runlevel 5.
Tim
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page