Difference between revisions of "Getty"

From ArchWiki
Jump to: navigation, search
(Dunno what made me think agetty -c fixed the problem; Fgetty sure works though :D)
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
Generally started from /etc/[[inittab]] to allow login on a terminal.
+
[[Category:Boot process]]
 +
[[zh-CN:Getty]]
 +
{{Lowercase title}}
  
== Agetty ==
+
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 {{keypress|Ctrl+Alt+F1}} through {{keypress|Ctrl+Alt+F6}}.
  
[[Agetty]]. Part of {{Package Official|util-linux}} package.
+
== agetty ==
  
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).
+
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).
  
== Fgetty ==
+
== fgetty ==
  
[[Fgetty]]. Package: {{Package Official|fgetty}}. Derived from Mingetty. Does not cause the "staircase effect".
+
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.
  
 
== Others ==
 
== Others ==
  
* '''[[Mingetty]]''' AUR: {{Package AUR|mingetty}}
+
* '''[[mingetty]]''' official package: {{Pkg|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 ==
Line 25: Line 27:
 
* [[Disable clearing of boot messages]]
 
* [[Disable clearing of boot messages]]
 
* [[Automatic login to virtual console]]
 
* [[Automatic login to virtual console]]
 
[[Category:Boot process (English)]]
 

Revision as of 15:16, 13 June 2012

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 Template:Keypress through Template:Keypress.

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