login success only once

Denis Vlasenko vda.linux at googlemail.com
Fri Mar 30 17:03:30 UTC 2007


On Friday 30 March 2007 04:44, kaimi wrote:
> hi, all
>      in my inittab, "tts/0::respawn:/bin/login" works well at the startup,
> but in the shell, if run login manually, there's promption for user name,
> after input the user name, there's no promption for password, the system is
> zombie, the inittab is followed, any ideas? thanks
> 
> tts/0::respawn:/bin/login

hmm... works for me:

shadow:~# login root
Password:
Linux 2.6.18.1_64smp_ipv6.
<*> Executing /etc/profile from '-bash'. Command line: ''
* PATH=/bin:/usr/bin
* Setting umask: 022
* Setting some environment variables
* Setting default shell prompts
<*> Finished /etc/profile
<*> Executing ~/.profile from '-bash'. Command line: ''
* PATH='/root/bin:/bin:/usr/bin'
* Locale: russian koi8r
<*> Finished ~/.profile
shadow:~# exit
logout
shadow:~#

Also works:

shadow:~# login
shadow login: root
Password:
Linux 2.6.18.1_64smp_ipv6.
<*> Executing /etc/profile from '-bash'. Command line: ''
...same...

Can you dig a bit deeper? Where exactly it fails for you?
--
vda



More information about the busybox mailing list