You are not logged in.

#1 2012-08-06 13:43:22

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 442

bash login from root tty console messed up

Hello there

I really don't know since when, but the console login seems messed up for me. I've noticed it a week ago or so,
and have decided to test it in a freshly installed archlinux vm too, it reproduces exactly the same. To be precise,
I've the same error on three different machines ( with different architectures)

When I log in to a tty console as root, sometimes I type login again to test some user stuff, so I type (as normally)

#login myusername

but since some days this command clears the screen, and drops me to a messed up login prompt, where the text I type is invisible (after the succesful login).

If I log in as a normal user as first, everything is normal.

If I run a graphical terminal emulator, the command "login" kills the terminal.

I cannot see anything in my logs... or...  here is what I get, when I log in as root to tty1 ( seems OK)
Aug  6 15:40:30 localhost login: ROOT LOGIN ON tty1

and that is what I get from my root tty1 when I try to log in as my user:
Aug  6 15:40:41 localhost login: pam_unix(login:session): session closed for user root

and the console respawns...

Please, try it, test it, and tell me, what is this mess...

[EDIT]

maybe it is not bash related, as I've installed other shells (fish, zsh),  and I have exactly the same problem with them too.
I open a terminal as root, I type "login username" and the terminal disappears/tty respawns...

ANYBODY?

Last edited by scar (2012-08-15 14:03:23)


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

Board footer

Powered by FluxBB