Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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?
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
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.