On Fri, 14 Jul 2017, Jonathan de Boyne Pollard wrote: > Don Armstrong: > > Something like this (untested) > > When you do test it (-: you will discover the rather drastic > side-effect on all of the repeated SSH logins of suddenly running them > in a completely different control group with completely different > settings. The systemd PAM hook does quite a lot of things. Taking it > out does rather more than only the thing that is wanted here.
That configuration does *not* take pam_systemd out. It just skips it for users which have a shell of /bin/false or /usr/sbin/nologin. -- Don Armstrong https://www.donarmstrong.com My spelling ability, or rather the lack thereof, is one of the wonders of the modern world.