Red Hat Bugzilla – Bug 110993
Cannot login as normal user
Last modified: 2007-11-30 17:10:34 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.1; Linux)
Description of problem:
When I try to login on my machine using ssh, I get the following message: Connection to <hostname> closed by remote host.
When I check the log file /var/log/messages I see:
Nov 26 13:39:36 calvin sshd(pam_unix): session opened for user rhdv by (uid=500)
No help there, not in /var/log/secure:
Nov 26 13:39:35 calvin sshd: Accepted password for rhdv from 22.214.171.124 port 46328 ssh2
Nov 26 13:39:36 calvin sshd: fatal: PAM session setup failed: Permission denied
Some searching on the web revealed a possible connection with the pam_limits module.
I renamed the file /etc/security/limits.conf to limits.conf- and I can login again.
I do get messages about the missing limits.conf file in /var/log/messages though.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. login to your machine via ssh as a normal user (not root)
Actual Results: Failed to login.
Expected Results: Prompt from other machine.
This should be fixed in Fedora Core 3.