[BusyBox] how to get login to ask for password on a given port?
Robert P. J. Day
rpjday at mindspring.com
Tue Mar 23 18:53:46 UTC 2004
On Tue, 23 Mar 2004, David Meggy wrote:
> On Tue, 2004-03-23 at 10:22, Robert P. J. Day wrote:
> >
> > # getty -L 9600 ttd/0 & # "-L" for local line, so don't do DCD
>
> Try just adding this to /etc/inittab. That is where login's belong and
> will get automatically started at boot.
would it really make a critical difference if it was started via
/etc/inittab or manually on the command line? i ask since we're
considering replacing init with minit, so we'll lose /etc/inittab anyway.
i'll give it a shot, though, just as a test.
> > have i missed a critical option here? how does getty pass on the info
> > to /bin/login as to which port to continue to use?
>
> try running "ls -l /proc/[login process number]/fd/"
>
> You can then see what it's standard file descriptors are.
ok, thanks.
rday
More information about the busybox
mailing list