]> git.armaanb.net Git - opendoas.git/blobdiff - doas.c
s/authorization/authentication/g
[opendoas.git] / doas.c
diff --git a/doas.c b/doas.c
index d312b2471a6332a833829cd9148532a52a49e33f..b47d2bb8c7bbb7593c791b72471be9f144d7371b 100644 (file)
--- a/doas.c
+++ b/doas.c
@@ -352,7 +352,7 @@ main(int argc, char **argv)
 #if defined(USE_SHADOW)
        if (!(rule->options & NOPASS)) {
                if (nflag)
-                       errx(1, "Authorization required");
+                       errx(1, "Authentication required");
 
                shadowauth(mypw->pw_name, rule->options & PERSIST);
        }
@@ -360,7 +360,7 @@ main(int argc, char **argv)
        /* no authentication provider, only allow NOPASS rules */
        (void) nflag;
        if (!(rule->options & NOPASS))
-               errx(1, "Authorization required");
+               errx(1, "Authentication required");
 #endif
 
        if ((p = getenv("PATH")) != NULL)