From 1bf9c6915e73f44c536b21c592c403de84460125 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Sun, 16 Apr 2023 15:05:15 +0200 Subject: [PATCH] Document new systemd credentials support for agetty and login --- login-utils/login.1.adoc | 8 ++++++++ term-utils/agetty.8.adoc | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/login-utils/login.1.adoc b/login-utils/login.1.adoc index a3404f365b..ee8559b51a 100644 --- a/login-utils/login.1.adoc +++ b/login-utils/login.1.adoc @@ -148,6 +148,14 @@ _/etc/pam.d/remote_, _/etc/hushlogins_, _$HOME/.hushlogin_ +== CREDENTIALS + +*login* supports configuration via systemd credentials (see https://systemd.io/CREDENTIALS/). *login* reads the following systemd credentials: + +*login.noauth* (boolean):: + +If set, configures *login* to skip login authentication, similarly to the *-f* option. + == BUGS The undocumented BSD *-r* option is not supported. This may be required by some *rlogind*(8) programs. diff --git a/term-utils/agetty.8.adoc b/term-utils/agetty.8.adoc index 7a298f723f..f584187048 100644 --- a/term-utils/agetty.8.adoc +++ b/term-utils/agetty.8.adoc @@ -319,6 +319,14 @@ problem reports (if *syslog*(3) is not used). _/etc/inittab_:: *init*(8) configuration file for SysV-style init daemon. +== CREDENTIALS + +*agetty* supports configuration via systemd credentials (see https://systemd.io/CREDENTIALS/). *agetty* reads the following systemd credentials: + +*agetty.autologin* (string):: + +If set, configures *agetty* to automatically log in the specified user without asking for a username or password, similarly to the *--autologin* option. + == BUGS The baud-rate detection feature (the *--extract-baud* option) requires that *agetty* be scheduled soon enough after completion of a dial-in call (within 30 ms with modems that talk at 2400 baud). For robustness, always use the *--extract-baud* option in combination with a multiple baud rate command-line argument, so that BREAK processing is enabled. -- 2.47.2