Discussion:
login user is root
(too old to reply)
Barry R Cisna
2014-12-22 20:44:43 UTC
Permalink
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)
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)
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)
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)
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)
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)
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)
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)
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)
disconnected by user
Dec 22 09:32:49 wc19 sshd[11379]: pam_unix(sshd:session): session closed
for user root
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
b***@thealmquists.net
2014-12-23 00:46:55 UTC
Permalink
I've noticed that the list has really slowed down as well. I guess most of the LTSP action has moved to Ubuntu, where most of the users and developers have gone.

----- Reply message -----
From: "Barry R Cisna" <***@eazylivin.net>
To: "K12LTSP" <***@redhat.com>
Subject: [K12OSN] login user is root
Date: Mon, Dec 22, 2014 2:44 PM

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)
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)
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)
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)
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)
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)
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)
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)
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)
disconnected by user
Dec 22 09:32:49 wc19 sshd[11379]: pam_unix(sshd:session): session closed
for user root
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
Jim Kinney
2014-12-23 04:14:12 UTC
Permalink
Lot's of stuff has changed. RedHat is pushing virtualization. LTSP in
Ubuntu is still an afterthought but at least it exists.

I'm still working to transition ltsp to a pxe boot plus spice client
environment. That is the next phase in my thinking of centos server for
school use with freeipa authentication and ovirt virtualization management.
Post by b***@thealmquists.net
I've noticed that the list has really slowed down as well. I guess most
of the LTSP action has moved to Ubuntu, where most of the users and
developers have gone.
----- Reply message -----
Subject: [K12OSN] login user is root
Date: Mon, Dec 22, 2014 2:44 PM
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)
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)
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)
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)
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)
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)
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)
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)
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)
disconnected by user
Dec 22 09:32:49 wc19 sshd[11379]: pam_unix(sshd:session): session closed
for user root
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
_______________________________________________
For more info see <http://www.k12os.org>
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
Loading...