| FGETTY(8) | System Administrator's Manual | FGETTY(8) |
fgetty - a small getty for linux
fgetty tty [--noclear] [--long-hostname]
The command fgetty is normally invoked by init(8), opens a tty port, prompts for a login name and invokes the /bin/login command.
--noclear makes fgetty not clear the screen before displaying the login prompt.
--long-hostname makes fgetty display the full hostname in the login prompt.
| /etc/issue | printed before the login prompt |
| /etc/inittab | init(8) configuration file |
| /var/run/utmp | the system status file |
The issue-file (/etc/issue or the file may contain certain escape codes to display the system name, date and time etc. All escape codes consist of a backslash (\) immediately followed by one of the letters explained below.
| HOST | is set to your hostname |
| TERM | is set to linux |
| TTY | is set to the current tty line |
| 1 | could not chown/chmod tty device |
| 3 | could not open tty device |
| 4 | not a typewriter |
| 5 | vhangup failed |
| 6 | could not open tty (can't happen) |
| 7 | dup failed |
| 8 | could not exec login |
| 9 | read returned an unexpected error |
| 10 | unprintable character in login name |
| 11 | login name too long (>40) |
| 13 | user name started with a dash |
| 23 | received SIGQUIT |
Felix von Leitner <felix-fgetty@fefe.de>
Homepage: http://www.fefe.de/fgetty/
| 2002-01-19 | fgetty |