agetty
Alternative
getty: Open attyport, prompt for a login name, and invoke the/bin/logincommand. It is normally invoked byinit. Note: The baud rate is the speed of data transfer between a terminal and a device over a serial connection. More information: https://manned.org/agetty.
- Connect
stdinto a port (relative to/dev) and optionally specify a baud rate (defaults to 9600):
agetty
- Assume
stdinis already connected to attyand set a timeout for the login:
agetty -
- Assume the
ttyis 8-bit, overriding the$TERMenvironment variable set byinit:
agetty -
- Skip the login (no login) and invoke, as root, another login program instead of
/bin/login:
agetty
- Do not display the pre-login (issue) file (
/etc/issueby default) before writing the login prompt:
agetty -
- Change the root directory and write a specific fake host into the
utmpfile:
agetty / -
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
