From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461; .NET CLR 1.0.3705; .NET CLR 1.1.4322) Description of problem: Whenever I try to login a non-root user, I can't connect through ssh. When I login as root and try to su to the user, I get a message that says "could not open session" In /var/log/messages I get "localnet PAM-env[31412]: Unable to open config file: Permission denied" In /var/log/secure I get "localnet sshd[31412]: fatal: login_get_lastlog: Cannot find account for uid 500" I have checked /etc/passwd and /etc/groups and I find no problems with those files and the account is valid. I was able to login a few days ago, but when I tried today, I encountered this problem. Any help with this problem would be greatly appreciated. Version-Release number of selected component (if applicable): pam-0.75-46.8.0 How reproducible: Always Steps to Reproduce: 1. login as a non-root user 2. 3. Actual Results: If I try to login via ssh, I can't connect at all. I also cannot su either. Expected Results: Login occured normally. Additional info:
I've also realized that if I try to login through ssh as root more than once, I get denied a logon as well.
Check if your /etc/passwd has correct rights. # ll /etc/passwd -rw------- 1 root root 1736 jan 22 08:14 /etc/passwd is an entry that gave me today the same results than you. # ll /etc/passwd -rw-r--r-- 1 root root 1791 jan 22 07:46 /etc/passwd is a correct entry without problems.
No response from reporter.