Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

designating tty from IP (telnet)

Status
Not open for further replies.

DtM

Technical User
Aug 9, 2002
1
US
I'm looking for a way (scipt or program)to designate the tty for a telnet session. I.E. IP address always ttyp6.
OS 5.0.5 Thanks
 
Basically you can't do that. the pseudo tty devices are allocated dynamically based on first available ttypX when the connection is made.

What you can do is key on hostname, which is available from w or who with the -x option.

hth
stan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top