getty (Unix)

getty
Written in C
Operating system UNIX / Linux
License Various

getty, short for "get tty", is a Unix program running on a host computer that manages physical or virtual terminals (TTYs). When it detects a connection, it prompts for a username and runs the 'login' program to authenticate the user.

Originally, on traditional Unix systems, getty handled connections to serial terminals (often Teletype machines) connected to a host computer. The tty part of the name stands for Teletype, but has come to mean any type of text terminal. One getty process serves one terminal. In some systems, for example, Solaris, getty was replaced by ttymon.

Personal computers running Unix-like operating systems, even if they do not provide any remote login services, may still use getty as a means of logging in on a local virtual console.

Cycling through the ttys can be done by the key combination [Ctrl]+[Alt]+[F1] to [F6].[1] The key combination Ctrl+D can often be used to terminate a tty.[2]

Starting X from the command-line style tty can be done by means of the command "startx".

Instead of the login program, getty may also be set up by the system administrator to run any other program, for example pppd (point-to-point protocol daemon) to provide a dial-up Internet connection.

See also

References

External links


This article is issued from Wikipedia - version of the 9/28/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.