[BusyBox] ash (busybox) problem:"job control turned off" -- getty (tinylogin) problem: errno25: Not a typewriter (printed as "Inappropriate ioctl for device")

Vladimir N. Oleynik dzo at simtreas.ru
Sat Jun 8 09:44:03 UTC 2002


cajus,
 
> I am using busybox 0.60.3 and tinylogin 1.02 on a x86 linux box with 2.4.18
> kernel.

You now can use unstable busybox from CVS.

Robert:
You it seems have lost the utility "passwd" ;)


> I use busybox ash as shell with job control turned on.
> I call getty from inittab with:
> ttyS1::askfirst:/sbin/getty -Lt10 ttyS1 115200 vt100
> 
> after entering the password the busybox built-in shell ash starts with
> "sh: can╢t access tty; job control turned off"

Is not problem getty. This poblem from login.

Installation pgrp carries out either init or login. 

Also:
As work through in inittab

ttyN::askfirst:-/bin/sh 
or
ttyN::respawn:-/bin/sh 

is analogue of monopoly work for this mode inclusion of support of 
the job control is undesirable for safety reasons.
Only auth users work safe. "init" also starts pgrp support for work 
initial scripts.


Robert:
The current version login completely is bad. 
I do not have words, this utility in any mode could not fulfil correctly. 
One example:
       if ( !strchr ( buf, '\n' ));	
		return 0;
Brrr.


Last path to loginutils/login.c and init.c in attach.


--w
vodz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: last_patch43.gz
Type: application/octet-stream
Size: 1932 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20020608/7238625b/attachment.obj 


More information about the busybox mailing list