]> git.ipfire.org Git - thirdparty/util-linux.git/commit
agetty: add support for LOGIN_PLAIN_PROMPT
authorKarel Zak <kzak@redhat.com>
Mon, 21 Mar 2022 12:19:38 +0000 (13:19 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 30 Mar 2022 09:14:30 +0000 (11:14 +0200)
commit556925fe4e63719756ce32c904e887d89d81f5b9
tree37a1a9ec03ec084d99e87de4cc4c4dbc72f2bc09
parent420bce887dadc9c131432a7b9cef65b973e66408
agetty: add support for LOGIN_PLAIN_PROMPT

login(1) and agetty(8) are usually used together to log-in user. The
initial login prompt is printed by agetty. login(1) can suppress
hostname in the prompt by LOGIN_PLAIN_PROMPT=no (/etc/login.defs), but
for agetty it's necessary to use --nohostname. It's pretty unfriendly
for system admins. Let's share the same setting between all tools.

Signed-off-by: Karel Zak <kzak@redhat.com>
term-utils/Makemodule.am
term-utils/agetty.8.adoc
term-utils/agetty.c