Red Hat Bugzilla – Full Text Bug Listing
|Summary:||Cannot log in as non-root user, immediately logged out|
|Product:||[Fedora] Fedora||Reporter:||Richard W.M. Jones <rjones>|
|Component:||openssh||Assignee:||Jan F. Chadima <jchadima>|
|Status:||CLOSED DUPLICATE||QA Contact:||Fedora Extras Quality Assurance <extras-qa>|
|Version:||rawhide||CC:||jchadima, mgrepl, tmraz|
|Fixed In Version:||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|Last Closed:||2011-02-02 15:49:28 EST||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
Description Richard W.M. Jones 2011-02-02 13:27:16 EST
Description of problem: ssh-ing as non-root to a virtual machine gives: $ ssh 192.168.122.76 firstname.lastname@example.org's password: Connection to 192.168.122.76 closed by remote host. Connection to 192.168.122.76 closed. (The password there was correct). However it works if I log in as root. On the server side there's not much in /var/log/secure. For unsuccessful non-root login it says: Feb 2 18:24:00 rawhide sshd: Accepted password for rjones from 192.168.122.1 port 48653 ssh2 Feb 2 18:24:00 rawhide sshd: fatal: mm_request_receive: read: Connection reset by peer Feb 2 18:24:00 rawhide sshd: pam_unix(sshd:session): session opened for user rjones by (uid=0) Feb 2 18:24:00 rawhide sshd: pam_unix(sshd:session): session closed for user rjones Feb 2 18:24:00 rawhide sshd: syslogin_perform_logout: logout() returned an error For successful root login it says: Feb 2 18:19:31 rawhide sshd: Accepted password for root from 192.168.122.1 port 56091 ssh2 Feb 2 18:19:31 rawhide sshd: fatal: mm_request_receive: read: Connection reset by peer Feb 2 18:19:31 rawhide sshd: pam_unix(sshd:session): session opened for user root by (uid=0) Version-Release number of selected component (if applicable): Server: openssh-server-5.6p1-26.fc15.x86_64 Client: openssh-clients-5.5p1-24.fc14.2.x86_64 How reproducible: 100% Steps to Reproduce: 1. ssh to Rawhide virtual machine as non-root. 2. 3. Actual results: Accepts password, then immediately closes the connection. Expected results: Logs me in. Additional info:
Comment 1 Richard W.M. Jones 2011-02-02 13:28:08 EST
There's nothing much in /var/log/messages. Any other log files I should be looking at? SELinux is Permissive. The VM is using systemd.
Comment 2 Richard W.M. Jones 2011-02-02 13:29:16 EST
I can log in as non-root at the VM console (ie. using virt-viewer). And I was able to log in to this machine before just fine, before updating all the packages to the latest Rawhide and rebooting it. After that big update and reboot, the trouble started.