[BusyBox] Detecting nature of terminal access

Vic Berdin vberdin at eazix.com
Mon May 24 04:06:11 UTC 2004


I would like to ask if I can use the busybox project in order to detect 
the nature of terminal access to my Linux box. To be more specific, I
would like to know if busybox (via login or sh or others?), is raising 
a terminal/shell for a telnet connection, serial console, or for a direct
"stdin" connection.
Actually, I'm thinking of doing this by creating my own, very minimal 
shell environment, and process the nature of access from there. However,
my idea of detecting the nature of terminal access is very minimal.
Aside from using netstat for telnet, whatelse can I use to determine stdin
from serial console access?
Any advise is highly appreciated.

TIA - Vic

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.672 / Virus Database: 434 - Release Date: 4/28/2004

More information about the busybox mailing list