You are not logged in.
Hi,
I was looking for something in my journald and I realized that I have a lot of "pam_exec(sshd:session): conversation failed" error messages.
Then I have been easily correlated theses events to the pam_exec.so module, when I comment the line I don't have theses messages anymore..
I am using the module for my motd.
nano /etc/pam.d/sshd
session optional pam_exec.so stdout /usr/bin/scripts/motd.shThe messages are logged when I logoff or terminate the ssh session, I have one line in journald for each line in my motd.
Feb 08 20:37:53 sshd[2915]: pam_exec(sshd:session): conversation failed
Feb 08 20:37:53 sshd[2915]: pam_exec(sshd:session): conversation failed
Feb 08 20:37:53 sshd[2915]: pam_exec(sshd:session): conversation failed
Feb 08 20:37:53 sshd[2915]: pam_exec(sshd:session): conversation failed
Feb 08 20:37:53 sshd[2915]: pam_exec(sshd:session): conversation failed
Feb 08 20:37:53 sshd[2915]: pam_exec(sshd:session): conversation failedAny idea why this happens?
many thanks for your help
Last edited by belette (2016-11-17 14:38:22)
Any idea?
no idea if it is correlated but after some times I need to restart systemd-logind as I experiment 25 delay to connect with this message:
pam_systemd(sshd:session): Failed to create session: Failed to activate service 'org.freedesktop.login1': timed out
I already see threads regarding the 25 sec delays but nothing on my original problem explained on my previous message ![]()
a little up
no one has this issue ?
Without changing anything this has been solved after some updates of pam module