I’m trying to execute the
login command but it fails.
As root (via SSH) I get:
root@server:~# login Connection to 192.168.0.50 closed.
The SSH connection is closed. In a “physical” TTY the session is closed and I go back to the login screen.
As a regular user using sudo:
bilbax@server:~$ sudo login Password: + Stopped sudo login
Just before this bug appeared, I tried to use the
login command as usual, it worked, it asked for the password. I typed it wrong, I retried, but the command froze. I tried ^C, without success. So, as root, I executed
killall login; didn't worked too. I rebooted the system and now I have to bug described above.
Did I do something wrong by killing the command?
I’m on Arch Linux x86_64 (kernel 3.4.7-1-ARCH).