doc: clarify eval order of sulogins in traditional rescue mode

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2023-09-13 12:44:00 +02:00
1 parent 6e7a2fb6d5
commit c90b4d797b
1 file changed
+10 -8
+10 -8
View File
@@ -1150,15 +1150,17 @@ The rescue mode comes in two flavors; *traditional* and *fallback*.
### Traditional ### Traditional
This is what most users expect. A very early maintenance login prompt, This is what most users expect. A very early maintenance login prompt,
served by the bundled `/libexec/finit/sulogin` program, or the standard served by the system `sulogin` program from util-linux, or BusyBox. If
`sulogin` from util-linux or BusyBox is searched for in the UNIX default that is not found in `$PATH`, the bundled `/libexec/finit/sulogin`
`$PATH`. If a successful login is made, or the user exits (Ctrl-D), the program is used instead. If a successful login is made, or if the user
rescue mode is ended and the system boots up normally. exits (Ctrl-D), the rescue mode is ended and the system boots up
normally.
> **Note:** if the user (UID 0 and GID 0) does not have a password, or > **Note:** the bundled sulogin in Finit can at configure time be given
> __the account is locked__, the user is presented with a password-less > another user than the default (root). If the sulogin user does not
> `"Press enter to enter maintenance mode."`, prompt which opens up a > have a password, or __the account is locked__, the user is presented
> root shell. > with a password-less `"Press enter to enter maintenance mode."`,
> prompt which opens up a root shell.
### Fallback ### Fallback