Consider the following:

       1 [weerd@despair] $ doas true
       2 doas ([email protected]) password: 
       3 [weerd@despair] $ doas true
       4 [weerd@despair] $ doas -n true
       5 doas: Authorization required

I have 'persist' to allow doas to not prompt for a password on
subsequent invocations.  However, then using 'doas -n' complains
"Authorization required" while the manpage says for -n: "Non
interactive mode, fail if doas would prompt for password."

Doas wouldn't prompt for a password if -n wasn't specified (see line
3), so why does it fail in line 4?

Is this a bug in doas or in the manpage?

Paul 'WEiRD' de Weerd

-- 
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/                 

Reply via email to