Re: : login user is root
Johan Vermeulen <[email protected]> Mon, 22 Dec 2014 22:16:55 +0100
| Newsgroups | gmane.linux.redhat.k12osn |
|---|---|
| Message-ID | <[email protected]> |
Barry, it should not be nescessary to modify the sshd_config file. The ltsp- update-ssh-keys should do it. Have you tried disabling the firewall? And selinux? Greetings johan Barry R Cisna <[email protected]>schreef: >Hello All, > >I posted this over at ltsp forums. > >It seems the interest in ltsp has really diminished sadly,,and also >makes troubleshooting a problem like i have listed that much more >difficult,without anyone else being able to give much feedback on recent >installs of ltsp. > >------------------------------------------------ > > >> CentOS 6.6 & ltsp latest version server & client build. >> >> After modding the sshd_config file on server to allow root to login with >> authorized_keys files a standrad user can get a login now,,but after >> logging in the standard user is root. >> >> It can be easily seen in log below the user (testuser) is authenticated >> fine then next line root is logged in alongside stander user. >> >> Never had this happen in many builds of ltsp/k12linux over the years. >> I will post the login of a client from the secure logs on server. >> >> ----------------------------------------------------------------------------------------------------------------------- >> >> Dec 22 09:32:14 wc19 sshd[11199]: Accepted password for testuser from >> 172.28.12.5 port 42979 ssh2 >> Dec 22 09:32:14 wc19 sshd[11199]: pam_unix(sshd:session): session opened >> for user testuser by (uid=0) >> Dec 22 09:32:15 wc19 sshd[11225]: Accepted publickey for root from >> 172.28.12.5 port 42980 ssh2 >> Dec 22 09:32:15 wc19 sshd[11225]: pam_unix(sshd:session): session opened >> for user root by (uid=0) >> Dec 22 09:32:15 wc19 sshd[11225]: Received disconnect from 172.28.12.5: 11: >> disconnected by user >> Dec 22 09:32:15 wc19 sshd[11225]: pam_unix(sshd:session): session closed >> for user root >> Dec 22 09:32:15 wc19 sshd[11244]: Accepted publickey for root from >> 172.28.12.5 port 42981 ssh2 >> Dec 22 09:32:15 wc19 sshd[11244]: pam_unix(sshd:session): session opened >> for user root by (uid=0) >> Dec 22 09:32:15 wc19 sshd[11244]: Received disconnect from 172.28.12.5: 11: >> disconnected by user >> Dec 22 09:32:15 wc19 sshd[11244]: pam_unix(sshd:session): session closed >> for user root >> Dec 22 09:32:15 wc19 sshd[11263]: Accepted publickey for root from >> 172.28.12.5 port 42982 ssh2 >> Dec 22 09:32:15 wc19 sshd[11263]: pam_unix(sshd:session): session opened >> for user root by (uid=0) >> Dec 22 09:32:15 wc19 sshd[11263]: Received disconnect from 172.28.12.5: 11: >> disconnected by user >> Dec 22 09:32:15 wc19 sshd[11263]: pam_unix(sshd:session): session closed >> for user root >> Dec 22 09:32:16 wc19 sshd[11283]: Accepted publickey for root from >> 172.28.12.5 port 42983 ssh2 >> Dec 22 09:32:16 wc19 sshd[11283]: pam_unix(sshd:session): session opened >> for user root by (uid=0) >> Dec 22 09:32:16 wc19 sshd[11283]: Received disconnect from 172.28.12.5: 11: >> disconnected by user >> Dec 22 09:32:16 wc19 sshd[11283]: pam_unix(sshd:session): session closed >> for user root >> Dec 22 09:32:16 wc19 sshd[11302]: Accepted publickey for root from >> 172.28.12.5 port 42984 ssh2 >> Dec 22 09:32:16 wc19 sshd[11302]: pam_unix(sshd:session): session opened >> for user root by (uid=0) >> Dec 22 09:32:16 wc19 sshd[11302]: Received disconnect from 172.28.12.5: 11: >> disconnected by user >> Dec 22 09:32:16 wc19 sshd[11302]: pam_unix(sshd:session): session closed >> for user root >> Dec 22 09:32:16 wc19 sshd[11321]: Accepted publickey for root from >> 172.28.12.5 port 42985 ssh2 >> Dec 22 09:32:16 wc19 sshd[11321]: pam_unix(sshd:session): session opened >> for user root by (uid=0) >> Dec 22 09:32:16 wc19 sshd[11321]: Received disconnect from 172.28.12.5: 11: >> disconnected by user >> Dec 22 09:32:16 wc19 sshd[11321]: pam_unix(sshd:session): session closed >> for user root >> Dec 22 09:32:17 wc19 sshd[11340]: Accepted publickey for root from >> 172.28.12.5 port 42986 ssh2 >> Dec 22 09:32:17 wc19 sshd[11340]: pam_unix(sshd:session): session opened >> for user root by (uid=0) >> Dec 22 09:32:17 wc19 sshd[11340]: Received disconnect from 172.28.12.5: 11: >> disconnected by user >> Dec 22 09:32:17 wc19 sshd[11340]: pam_unix(sshd:session): session closed >> for user root >> Dec 22 09:32:17 wc19 sshd[11360]: Accepted publickey for root from >> 172.28.12.5 port 42987 ssh2 >> Dec 22 09:32:17 wc19 sshd[11360]: pam_unix(sshd:session): session opened >> for user root by (uid=0) >> Dec 22 09:32:17 wc19 sshd[11360]: Received disconnect from 172.28.12.5: 11: >> disconnected by user >> Dec 22 09:32:17 wc19 sshd[11360]: pam_unix(sshd:session): session closed >> for user root >> Dec 22 09:32:18 wc19 sshd[11379]: Accepted publickey for root from >> 172.28.12.5 port 42988 ssh2 >> Dec 22 09:32:18 wc19 sshd[11379]: pam_unix(sshd:session): session opened >> for user root by (uid=0) >> Dec 22 09:32:21 wc19 polkitd(authority=local): Registered Authentication >> Agent for session /org/freedesktop/ConsoleKit/Session9 (system bus name >> :1.1461 [/usr/libexec/polkit-gnome-authentication-agent-1], object path >> /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) >> Dec 22 09:32:49 wc19 sshd[11379]: Received disconnect from 172.28.12.5: 11: >> disconnected by user >> Dec 22 09:32:49 wc19 sshd[11379]: pam_unix(sshd:session): session closed >> for user root >> Dec 22 09:32:50 wc19 sshd[11202]: Received disconnect from 172.28.12.5: 11: >> disconnected by user >> Dec 22 09:32:50 wc19 sshd[11199]: pam_unix(sshd:session): session closed >> for user testuser >> Dec 22 09:32:50 wc19 polkitd(authority=local): Unregistered Authentication >> Agent for session /org/freedesktop/ConsoleKit/Session9 (system bus name >> :1.1461, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale >> en_US.UTF-8) (disconnected from bus) >> >> ---------------------------------------------------------------------------------------------------------------------- >> >> Anyone ever experienced this? >> >> Thanks, >> Barry > >_______________________________________________ >K12OSN mailing list >[email protected] >https://www.redhat.com/mailman/listinfo/k12osn >For more info see <http://www.k12os.org> _______________________________________________ K12OSN mailing list [email protected] https://www.redhat.com/mailman/listinfo/k12osn For more info see <http://www.k12os.org>