LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-04-2002, 12:20 AM   #1
rasejo
LQ Newbie
 
Registered: Aug 2002
Posts: 29

Rep: Reputation: 15
a tty????


hello,

Sorry for this very simple question i have to ask... what is tty?
can anyone give me a link which would explain details regarding tty's?
 
Old 10-04-2002, 12:26 AM   #2
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Rep: Reputation: 30
tty means serial port i'm pretty sure, this usual has something to do with the modem connection....why do you ask?

try searching around in the forums....

Garry
 
Old 10-04-2002, 12:34 AM   #3
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
It is a little bit wrong, ttyS is a serial port (COM port) , tty is a file name of a terminal connected to standard input (keyboards for instance), so basically this is a terminal, Xterm for instance is a program to emulate *NIX terminal.
apropos tty
man tty
 
Old 10-04-2002, 01:07 AM   #4
rasejo
LQ Newbie
 
Registered: Aug 2002
Posts: 29

Original Poster
Rep: Reputation: 15
ah ok...
Is is true that one way to secure you linux box is to limit the virtual terminals and tty on the securetty?
And why are the tty's from 1 to 11 only? Does it corresponds to a certain standard input?
 
Old 10-04-2002, 01:59 AM   #5
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
I am not sure about maximum numbers of tty's you can run on your system, but it is well beyond 11, as for virtual terminals, yes it is believed a good security practice to limit number of vtty's on your system, usually you can limit them in /etc/inittab, also you can restrict root access on vtty's and tty's through /etc/securetty
 
Old 02-23-2009, 01:01 AM   #6
m4rtin
Member
 
Registered: Sep 2007
Posts: 261

Rep: Reputation: 16
Quote:
Originally Posted by neo77777 View Post
It is a little bit wrong, ttyS is a serial port (COM port) , tty is a file name of a terminal connected to standard input (keyboards for instance), so basically this is a terminal, Xterm for instance is a program to emulate *NIX terminal.
apropos tty
man tty
for example if i have 5 Virtual Terminals, 5 xterm windows and 5 gnome-terminals in use, then I have tty0 - tty14 in use?

And does tty's pass information to shell(for example bash or tcsh) and shell passes information back to tty's?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
stderr is not a tty - where are you? lazyboy0001 Slackware 12 12-02-2005 09:44 AM
change tty => system crashes (ati driver/tty resolution) mosca Debian 6 08-05-2004 07:37 AM
X running on more than 1 tty? bruno buys Linux - General 1 05-17-2004 12:32 AM
How to add another tty? thrix Linux - General 1 01-21-2004 03:17 PM
How to get into different tty? Noerr Linux - General 3 05-29-2002 06:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration