[BusyBox] how to get login to ask for password on a given port?
David Meggy
dmeggy at techsol.ca
Tue Mar 23 18:36:57 UTC 2004
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.
> 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.
David
--
~~~~~~~~~~~~~~~~~~~~~~~~
David Meggy
Engineering
Technical Solutions Inc.
Unit #1 7157 Honeyman St
Delta BC Canada, V4G 1E2
www.techsol.ca
eMail: dmeggy at techsol.ca
Tel: 604 946 TECH (8324)
Fax: 604 946 6445
~~~~~~~~~~~~~~~~~~~~~~~~
More information about the busybox
mailing list