<br><br><div><span class="gmail_quote">On 3/31/07, <b class="gmail_sendername">Denis Vlasenko</b> <<a href="mailto:vda.linux@googlemail.com">vda.linux@googlemail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Friday 30 March 2007 04:44, kaimi wrote:<br>> hi, all<br>> in my inittab, "tts/0::respawn:/bin/login" works well at the startup,<br>> but in the shell, if run login manually, there's promption for user name,
<br>> after input the user name, there's no promption for password, the system is<br>> zombie, the inittab is followed, any ideas? thanks<br>><br>> tts/0::respawn:/bin/login<br><br>hmm... works for me:<br>
<br>shadow:~# login root<br>Password:<br>Linux 2.6.18.1_64smp_ipv6.<br><*> Executing /etc/profile from '-bash'. Command line: ''<br>* PATH=/bin:/usr/bin<br>* Setting umask: 022<br>* Setting some environment variables
<br>* Setting default shell prompts<br><*> Finished /etc/profile<br><*> Executing ~/.profile from '-bash'. Command line: ''<br>* PATH='/root/bin:/bin:/usr/bin'<br>* Locale: russian koi8r
<br><*> Finished ~/.profile<br>shadow:~# exit<br>logout<br>shadow:~#<br><br>Also works:<br><br>shadow:~# login<br>shadow login: root<br>Password:<br>Linux 2.6.18.1_64smp_ipv6.<br><*> Executing /etc/profile from '-bash'. Command line: ''
<br>...same...<br><br>Can you dig a bit deeper? Where exactly it fails for you?<br>--<br>vda<br></blockquote></div><br>my /etc/profile followed:<br>export LD_LIBRARY_PATH=/lib:/usr/lib<br>echo "export PATH in /etc/profile"
<br>export PATH=/bin:/sbin:/usr/bin:/usr/sbin<br><br>the startup messages followed:<br>ARM login: root<br>Password:<br>export PATH in /etc/profile<br>[root@ARM ~]# logout<br>ARM login: root<br>Password:<br>export PATH in /etc/profile
<br>[root@ARM ~]# login<br>ARM login: root<br><br>you can see, at startup, login works, it works after logout as well, but it's failed if login on shell prompts. how to trace the exact point? thanks<br>-- <br>