Name
agetty
Synopsis
agetty [options] port baudrate [term]
Description
System administration command. The Linux version of getty. Set terminal type, modes, speed, andline discipline. agetty is invokedby init. It is the second process inthe series init-getty-login-shell,which ultimately connects a user with the Linux system. agetty reads the user’s login name and invokesthe login command with the user’sname as an argument. While reading the name, agetty attempts to adapt the system to thespeed and type of device being used.
You must specify a port, which agettywill search for in the /dev directory. You mayuse -, in which case agetty reads from standard input. You must alsospecify baudrate, which may be a comma-separatedlist of rates, through which agettywill step. Optionally, you may specify the term,which is used to override the TERM environment variable.
Options
- -h
Specify hardware, not software, flow control.
- -i
Suppress printing of /etc/issue before printing thelogin prompt.
- -l program
Specify the use of program instead of /bin/login.
- -m
Attempt to guess the appropriate baud rate.
- -t timeout
Specify that agetty should exit if the open onthe line succeeds and there is no response to the loginprompt in timeout seconds.
- -L
Do not require carrier detect; operate locally only.Use this when connecting terminals.
Get Linux in a Nutshell, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.