https://bugzilla.novell.com/show_bug.cgi?id=228065 Summary: connect via ssh impossible due to pam error Product: openSUSE 10.2 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: suse@rauch-webdesign.de QAContact: qa@suse.de I am not possible to connect to my box via ssh. Following errors come up in /var/log/messages on trying to connect via WinSCP: Dec 12 22:13:37 hellmsklamm sshd[29088]: Accepted keyboard-interactive/pam for rauch from 192.168.0.150 port 1055 ssh2 Dec 12 22:13:37 hellmsklamm sshd[29094]: pam_loginuid(sshd:session): set_loginuid failed opening loginuid Dec 12 22:13:37 hellmsklamm sshd[29094]: pam_loginuid(sshd:session): set_loginuid failed Dec 12 22:13:37 hellmsklamm sshd[29094]: error: PAM: pam_open_session(): Cannot make/remove an entry for the specified session Dec 12 22:13:37 hellmsklamm sshd[29094]: subsystem request for sftp Dec 12 22:15:01 hellmsklamm /usr/sbin/cron[29112]: pam_loginuid(crond:session): set_loginuid failed opening loginuid Dec 12 22:15:01 hellmsklamm /usr/sbin/cron[29112]: pam_loginuid(crond:session): set_loginuid failed Dec 12 22:15:01 hellmsklamm /usr/sbin/cron[29112]: Cannot make/remove an entry for the specified session These errors come up when trying to connect from another suse box via plain ssh: Dec 12 22:25:16 hellmsklamm sshd[29208]: Accepted publickey for rauch from 192.168.0.1 port 52669 ssh2 Dec 12 22:25:41 hellmsklamm sshd[29233]: Accepted publickey for rauch from 192.168.0.1 port 52670 ssh2 Dec 12 22:25:41 hellmsklamm sshd[29238]: pam_loginuid(sshd:session): set_loginuid failed opening loginuid Dec 12 22:25:41 hellmsklamm sshd[29238]: pam_loginuid(sshd:session): set_loginuid failed Dec 12 22:25:41 hellmsklamm sshd[29238]: error: PAM: pam_open_session(): Cannot make/remove an entry for the specified session The connection is closed immediately in both cases. Editing /etc/pam.d/sshd and commenting out the following line: session required pam_loginuid.so fixes the issue. pam_loginuid.so is installed by package pam-0.99.6.3 and exists here: hellmsklamm:~ # dir /lib64/security/pam_loginuid.so -rwxr-xr-x 1 root root 10488 25. Nov 12:59 /lib64/security/pam_loginuid.so -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.