Bug#802212: libpam-ssh: pam-ssh returns PAM_NO_MODULE_DATA, when no .ssh directory found

2016-09-02 Thread burban
Hi, Hit by the same problem. I think there are 2 issues at play here. First, it doesn't make sense that failing to retrieve "ssh_agent_pid" returns an error, as the agent wasn't started at all. We should return PAM_SUCCESS, like we do when $HOME/.ssh doesn't exist at session opening. So the

Bug#802212: libpam-ssh: pam-ssh returns PAM_NO_MODULE_DATA, when no .ssh directory found

2015-10-18 Thread Dmitriy Matrosov
Package: libpam-ssh Version: 2.01-2 Severity: normal Hi. When pam-ssh is enabled in common-session, like: session optionalpam_ssh.so and i `su` to user, which does not have .ssh directory, `su` will report error at session close: # su - test test@shilvana:~$ test@shilvana:~$ logout