Difference between revisions of "Getty"

From ArchWiki
Jump to: navigation, search
(move category to top, add i18n)
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Category:Boot process (English)]]
+
[[Category:Boot process]]
{{i18n|Getty}}
+
[[zh-CN:Getty]]
 +
{{Lowercase title}}
  
Generally started from /etc/[[inittab]] to allow login on a terminal.
+
A getty is the generic name for a program which manages a terminal line and its connected terminal.  Its purpose is to protect the system from unauthorized access.  Generally, each getty process is started by [[init]] and manages a single terminal line.  Within the context of a typical Arch Linux installation, the terminals managed by the getty processes are implemented as virtual consoles.  Six of these virtual consoles are provided by default and they are usually accessible by pressing {{ic|Ctrl+Alt+F1}} through {{ic|Ctrl+Alt+F6}}.
  
== Agetty ==
+
== agetty ==
  
[[Agetty]]. Part of {{Package Official|util-linux}} package.
+
The {{ic|agetty}} program is the default getty in Arch Linux and is part of the {{Pkg|util-linux}} package which is included in the base Arch Linux installation.  It modifies the TTY settings while waiting for a login so that newlines are not translated to CR–LFs. This tends to cause a "staircase effect" for messages printed to the console (printed by programs started by [[Init]] for instance).
  
Agetty modifies the TTY settings while waiting for a login so that newlines are not translated to CR–LFs. This tends to cause a "staircase effect" for messages printed to the console (printed by programs started by [[Init]] for instance).
+
== fgetty ==
  
== Fgetty ==
+
The {{AUR|fgetty}} unofficial package is available in the [[Arch User Repository]] and is derived from mingetty. It does not cause the "staircase effect". The patched {{AUR|fgetty-pam}} is currently required for [[Wikipedia:Pluggable authentication module|Pluggable Authentication Module]] (including SHA-2) support.
 
+
[[Fgetty]]. Package: {{Package Official|fgetty}}. Derived from Mingetty. Does not cause the "staircase effect". The patched [http://aur.archlinux.org/packages.php?ID=50943 fgetty-pam] is currently required for PAM (incl. SHA-2) support.
+
  
 
== Others ==
 
== Others ==
  
* '''[[Mingetty]]''' AUR: {{Package AUR|mingetty}}
+
* '''mingetty''' AUR {{AUR|mingetty}}
* '''[[Qingy]]''' package: {{Package Official|qingy}}
+
* '''[[qingy]]''' official package: {{Pkg|qingy}}
* '''[[Fbgetty]]''' package: {{Package Official|fbgetty}}
+
* '''fbgetty''' official package: {{Pkg|fbgetty}}
* '''[[Ngetty]]''' AUR: {{Package AUR|ngetty}}
+
* '''ngetty''' AUR: {{AUR|ngetty}}
* '''[[Rungetty]]''' AUR: {{Package AUR|rungetty}}
+
* '''rungetty''' AUR: {{AUR|rungetty}}
* '''[[Mgetty]]''' AUR: {{Package AUR|mgetty}}
+
* '''mgetty''' AUR: {{AUR|mgetty}}
  
 
== See also ==
 
== See also ==

Revision as of 10:58, 1 September 2013

A getty is the generic name for a program which manages a terminal line and its connected terminal. Its purpose is to protect the system from unauthorized access. Generally, each getty process is started by init and manages a single terminal line. Within the context of a typical Arch Linux installation, the terminals managed by the getty processes are implemented as virtual consoles. Six of these virtual consoles are provided by default and they are usually accessible by pressing Ctrl+Alt+F1 through Ctrl+Alt+F6.

agetty

The agetty program is the default getty in Arch Linux and is part of the util-linux package which is included in the base Arch Linux installation. It modifies the TTY settings while waiting for a login so that newlines are not translated to CR–LFs. This tends to cause a "staircase effect" for messages printed to the console (printed by programs started by Init for instance).

fgetty

The fgettyAUR unofficial package is available in the Arch User Repository and is derived from mingetty. It does not cause the "staircase effect". The patched fgetty-pamAUR is currently required for Pluggable Authentication Module (including SHA-2) support.

Others

See also