[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: how to enable "login"? login can not work with inittab
From:       kaimi <dishui () gmail ! com>
Date:       2006-12-22 2:15:29
Message-ID: a30a0a1f0612211815p34db3cb4j726430e29d061a1e () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On 12/21/06, Luciano Miguel Ferreira Rocha <strange@nsk.no-ip.org> wrote:
>
> On Thu, Dec 21, 2006 at 10:45:48AM +0800, kaimi wrote:
> > On 12/21/06, Luciano Miguel Ferreira Rocha <strange@nsk.no-ip.org>
> wrote:
> > >
> > >On Wed, Dec 20, 2006 at 10:26:20AM +0800, kaimi wrote:
> > >> ::respawn:-/bin/sh
> > >> ::respawn:/bin/login
> > >
> > >You're telling init to run two interactive processes in the console.
> > >Don't do that.
> > >
> > thanks for your help, but would you please give me more details? If
> there's
> > only "::respawn:-/bin/sh", I can not get the login prompt.
>
> But you do get a shell prompt, don't you?
>
> So don't put '::respawn:-/bin/sh' in inittab. Put only
> '::respawn:/bin/login' and you should get the login prompt.
>
>
> --
> lfr
> 0/0


greate appreciate to you, it works, thanks!

[Attachment #5 (text/html)]

<br><br><div><span class="gmail_quote">On 12/21/06, <b \
class="gmail_sendername">Luciano Miguel Ferreira Rocha</b> &lt;<a \
href="mailto:strange@nsk.no-ip.org">strange@nsk.no-ip.org</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 Thu, Dec 21, 2006 at \
10:45:48AM +0800, kaimi wrote:<br>&gt; On 12/21/06, Luciano Miguel Ferreira Rocha \
&lt;<a href="mailto:strange@nsk.no-ip.org">strange@nsk.no-ip.org</a>&gt; \
wrote:<br>&gt; &gt;<br>&gt; &gt;On Wed, Dec 20, 2006 at 10:26:20AM +0800, kaimi \
wrote: <br>&gt; &gt;&gt; ::respawn:-/bin/sh<br>&gt; &gt;&gt; \
::respawn:/bin/login<br>&gt; &gt;<br>&gt; &gt;You&#39;re telling init to run two \
interactive processes in the console.<br>&gt; &gt;Don&#39;t do that.<br>&gt; \
&gt;<br>&gt; thanks for your help, but would you please give me more details? If \
there&#39;s <br>&gt; only &quot;::respawn:-/bin/sh&quot;, I can not get the login \
prompt.<br><br>But you do get a shell prompt, don&#39;t you?<br><br>So don&#39;t put \
&#39;::respawn:-/bin/sh&#39; in inittab. Put only<br>&#39;::respawn:/bin/login&#39; \
and you should get the login prompt. \
<br><br><br>--<br>lfr<br>0/0</blockquote><div>&nbsp;<br></div></div> greate \
appreciate to you, it works, thanks!<br>



_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic