]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
(minor) update sulogin.c
authorLeaflet <156237164+I-use-Arch-btw-00111@users.noreply.github.com>
Mon, 15 Apr 2024 16:52:19 +0000 (16:52 +0000)
committerGitHub <noreply@github.com>
Mon, 15 Apr 2024 16:52:19 +0000 (16:52 +0000)
Make the root password prompt more technical

login-utils/sulogin.c

index 2682c30fb6e212709c2e9de60d0435160fba0998..501961f5fb249a73b5710129f924ba8870c38ae6 100644 (file)
@@ -664,14 +664,14 @@ static void doprompt(const char *crypted, struct console *con, int deny)
        else {
 #if defined(USE_ONELINE)
                if (crypted[0] && !locked_account_password(crypted))
-                       fprintf(con->file, _("Give root password for login: "));
+                       fprintf(con->file, _("Enter root password for login: "));
                else
                        fprintf(con->file, _("Press Enter for login: "));
 #else
                if (crypted[0] && !locked_account_password(crypted))
-                       fprintf(con->file, _("Give root password for maintenance\n"));
+                       fprintf(con->file, _("Enter root password for system maintenance\n"));
                else
-                       fprintf(con->file, _("Press Enter for maintenance\n"));
+                       fprintf(con->file, _("Press Enter for system maintenance\n"));
                fprintf(con->file, _("(or press Control-D to continue): "));
 #endif
        }