AGETTY(8) System Administration AGETTY(8) (NAME) agetty - tty (SYNOPSIS) agetty [options] port [baud_rate...] [term] (DESCRIPTION) agetty tty /bin/login . init(8) . agetty (dial-in) : o tty (erase) (kill) (end-of-line) . (space) . : Control-U ( ) DEL backspace ( ) carriage return line feed ( ). --erase-chars --kill-chars . o (baud rate) CONNECT Hayes(tm) . o ( call-back). o /etc/issue . o issue /etc/issue /etc/issue.d . o . o /bin/login . o (hardware flow control) . o (carrier detect) (local) . /etc/gettydefs ( System V) /etc/gettytab ( SunOS 4) . (ARGUMENTS) port /dev. "-" agetty tty . System V port "-" "--" . baud_rate,... . agetty BREAK . null ( Ctrl-@) . (virtual terminals) . (serial terminals) ( --keep-baud ) '9600' . term TERM . init(1) login . 'vt100' 'linux' GNU Hurd 'hurd' . (OPTIONS) -8, --8bits tty (8-bit clean) . -a, --autologin username . -f username /bin/login . --login-options . --autologin getty agetty . -c, --noreset (cflags control modes) . termios(3) . -E, --remote login(1) telnetd(8) . agetty utmp(5) login(1) . --host login(1) utmp(5) . --host fakehost -h fakehost /bin/login . --nohostname -H /bin/login . --login-options . -f, --issue-file path ":" /etc/issue ( ) . . .issue . . --noissue . --show-issue issue ( ) . . agetty . -h, --flow-control (RTS/CTS) . (XON/XOFF) . -H, --host fakehost (fakehost) utmp . agetty . (terminal concentrators) . -i, --noissue /etc/issue ( ) . (dial-up) . -I, --init-string initstring tty . . (octal) (\) . linefeed ( 012) \12 . -J, --noclear . . -l, --login-program login_program login_program /bin/login . . . --login-options . -L, --local-line[=mode] CLOCAL . mode auto always never . mode always . --local-line auto . always (carrier detect). . never CLOCAL . auto agetty . CLOCAL . -m, --extract-baud CONNECT Hayes(tm) . "" . agetty () baud_rate . --extract-baud BREAK . --list-speeds . . -n, --skip-login . --login-program BBS . --skip-login agetty (space) CR (13) . agetty ( /bin/login) (root) . -N, --nonewline /etc/issue . -o, --login-options login_options login(1) . \u . : --login-options '-h darkstar -- \u' --autologin --login-program --remote . (SECURITY NOTICE) . -p, --login-pause . --autologin (lazy spawning) . -r, --chroot directory (chroot). -R, --hangup vhangup(2) . -s, --keep-baud . agetty BREAK . . BREAK . -t, --timeout timeout timeout . . -U, --detect-case . . . -w, --wait-cr /etc/issue ( ) carriage-return linefeed . --init-string . --nohints Num Lock Caps Lock Scroll Lock . --nohostname . . LOGIN_PLAIN_PROMPT /etc/login.defs ( ). --long-hostname . (FQDN) gethostname(3P) ( ) getaddrinfo(3) . --erase-chars string (backspace << >>) . '#' util-linux 2.23 . --kill-chars string (kill << >>) . '@' util-linux 2.23 . --chdir directory . --delay number tty (sleep). --nice number (nice) . --reload agetty . . inotify(7) . -h, --help . -V, --version . (CONFIG FILE ITEMS) agetty /etc/login.defs ( login.defs(5) ). ( shadow-utils) . agetty : LOGIN_PLAIN_PROMPT () agetty :login . --nohostname . no . (EXAMPLE) process /etc/inittab . . inittab(5) . tty: /sbin/agetty 9600 ttyS1 ( password: ): /sbin/agetty --local-line 9600 ttyS1 vt100 // : /sbin/agetty --extract-baud --timeout 60 ttyS1 9600,2400,1200 Hayes ( DCD / DCD / DTR ): /sbin/agetty --wait-cr --init-string 'ATE0Q1&D2&C1S0=1\015' 115200 ttyS1 (SECURITY NOTICE) --login-program --login-options . agetty "-" ( ) login . . "--" . "--" \u . (ISSUE FILES) issue /etc/issue . agetty /etc/issue.d . issue /etc/issue . /etc/issue . .issue . /etc/issue . . issue . agetty /run/issue /run/issue.d /usr/lib/issue /usr/lib/issue.d . /etc /run /usr/lib . . . /etc/issue . . /etc/issue . issue . --issue-file . issue . issue --noissue . issue agetty --show-issue . issue (escape codes) . (\) . 4 4{interface} IPv4 ( : \4{eth0}). interface (UP non-LOCALBACK RUNNING) . IP . 6 6{interface} \4 IPv6. b (baudrate) . d . e e{name} (name) (escape sequence) ( : \e{red} .\e{reset}). name \033 . : black blink blue bold brown cyan darkgray gray green halfbright lightblue lightcyan lightgray lightgreen lightmagenta lightred magenta red reset reverse yellow white. . s ( ) . 'uname -s' . \S . S S{VARIABLE} VARIABLE /etc/os-release . /usr/lib/os-release . VARIABLE PRETTY_NAME ( \s ). /etc/issue . \S{ANSI_COLOR} . l tty . m . uname -m . n (nodename) (hostname) . uname -n . o NIS . hostname -d . O DNS . r (release) . uname -r . t . u . U "1 user" " users" . v (build-date) . . /etc/issue : This is \n.\o (\s \m \r) \t : This is thingol.orcan.dk (Linux i386 1.1.9) 18:29:30 (FILES) /var/run/utmp . /etc/issue . /etc/os-release /usr/lib/os-release . /dev/console ( syslog(3) ). /etc/inittab init(8) init SysV. (CREDENTIALS) agetty systemd ( ). agetty systemd : agetty.autologin () agetty --autologin . (BUGS) ( --extract-baud) agetty ( ). --extract-baud BREAK . /etc/issue ( ) (space parity) . ( --extract-baud) DCD . (DIAGNOSTICS) syslog(3) . port utmp ( System V) . (AUTHORS) Werner Fink , Karel Zak agetty W.Z. Venema Peter Orbaek . . (REPORTING BUGS) . . (AVAILABILITY) agetty util-linux . . util-linux 2.41.5 2026-06-16 AGETTY(8)