=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/doas/doas.c,v retrieving revision 1.85 retrieving revision 1.86 diff -u -r1.85 -r1.86 --- src/usr.bin/doas/doas.c 2021/01/13 13:49:34 1.85 +++ src/usr.bin/doas/doas.c 2021/01/16 09:18:41 1.86 @@ -1,4 +1,4 @@ -/* $OpenBSD: doas.c,v 1.85 2021/01/13 13:49:34 kn Exp $ */ +/* $OpenBSD: doas.c,v 1.86 2021/01/16 09:18:41 martijn Exp $ */ /* * Copyright (c) 2015 Ted Unangst * @@ -215,7 +215,7 @@ if (!(as = auth_userchallenge(myname, login_style, "auth-doas", &challenge))) - errx(1, "Authorization failed"); + errx(1, "Authentication failed"); if (!challenge) { char host[HOST_NAME_MAX + 1]; if (gethostname(host, sizeof(host))) @@ -235,7 +235,7 @@ explicit_bzero(rbuf, sizeof(rbuf)); syslog(LOG_AUTHPRIV | LOG_NOTICE, "failed auth for %s", myname); - errx(1, "Authorization failed"); + errx(1, "Authentication failed"); } explicit_bzero(rbuf, sizeof(rbuf)); good: @@ -406,7 +406,7 @@ if (!(rule->options & NOPASS)) { if (nflag) - errx(1, "Authorization required"); + errx(1, "Authentication required"); authuser(mypw->pw_name, login_style, rule->options & PERSIST); }