<br><br><div><span class="gmail_quote">On 3/31/07, <b class="gmail_sendername">Denis Vlasenko</b> &lt;<a href="mailto:vda.linux@googlemail.com">vda.linux@googlemail.com</a>&gt; 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>&gt; hi, all<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in my inittab, &quot;tts/0::respawn:/bin/login&quot; works well at the startup,<br>&gt; but in the shell, if run login manually, there&#39;s promption for user name,
<br>&gt; after input the user name, there&#39;s no promption for password, the system is<br>&gt; zombie, the inittab is followed, any ideas? thanks<br>&gt;<br>&gt; 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>&lt;*&gt; Executing /etc/profile from &#39;-bash&#39;. Command line: &#39;&#39;<br>* PATH=/bin:/usr/bin<br>* Setting umask: 022<br>* Setting some environment variables
<br>* Setting default shell prompts<br>&lt;*&gt; Finished /etc/profile<br>&lt;*&gt; Executing ~/.profile from &#39;-bash&#39;. Command line: &#39;&#39;<br>* PATH=&#39;/root/bin:/bin:/usr/bin&#39;<br>* Locale: russian koi8r
<br>&lt;*&gt; 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>&lt;*&gt; Executing /etc/profile from &#39;-bash&#39;. Command line: &#39;&#39;
<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 &quot;export PATH in /etc/profile&quot;
<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&#39;s failed if login on shell prompts. how to trace the exact point? thanks<br>-- <br>