my fork of doas with custom prompt
git clone git://
Log | Files | Refs | README | LICENSE

commit 6e3c6ba4af9c04ba7f59c859148864aa895851cc
parent d5acd52e2a15c36a8e06f9103d35622933aa422d
Author: martijn <martijn>
Date:   Fri, 15 Jan 2021 08:32:55 +0000

Be more explicit by stating that the -n flag is linked to the nopass option in doas.conf instead of a generic "would prompt for password", which could lead people into believing that persist could work with this option.

OK tedu@
Feedback and OK kn@

Mdoas.1 | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doas.1 b/doas.1 @@ -89,9 +89,9 @@ Clear any persisted authorizations from previous invocations, then immediately exit. No command is executed. .It Fl n -Non interactive mode, fail if -.Nm -would prompt for password. +Non interactive mode, fail if the matching rule doesn't have the +.Ic nopass +option. .It Fl s Execute the shell from .Ev SHELL