Received: from out0.migadu.com (out0.migadu.com [94.23.1.103]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id BC3F2781474 for <~alpine/users@lists.alpinelinux.org>; Mon, 18 Apr 2022 16:56:31 +0000 (UTC) MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ayaya.dev; s=key1; t=1650300991; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/dzaIqAJNJkUUDShQtuqP0QSZYlOMGNoYh2XPlX1dXk=; b=nIWoeygOz+TVTLUx02WX3E9gLaGWG33N3IyAkE2TD50+2NekRx9N1QPP4gT4HyYtB9d8Le GY28OuD6aFSH7rI1Soify6z8ZfqdYEnpHRt28OfCfe0EYWLDSB05CiIwA+yVowJrBhaUCu eCwZ8B3VzO36bnHdkHfFw+yz4n67gLM= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Mon, 18 Apr 2022 18:56:30 +0200 Message-Id: Cc: Subject: Re: Help me understand doas.conf X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: "alice" To: "Wolf" , <~alpine/users@lists.alpinelinux.org> References: In-Reply-To: X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: ayaya.dev On Mon Apr 18, 2022 at 4:40 AM CEST, Wolf wrote: > When I have this in my wheel.conf, everything works fine: > > permit persist :wheel > permit nopass :wheel cmd /usr/local/bin/dock-network > > However, once I switch the lines around like this: > > permit nopass :wheel cmd /usr/local/bin/dock-network > permit persist :wheel > > It does not work anymore: > > $ doas -n /usr/local/bin/dock-network > doas: Authentication required this does look like a bug. i opened a bug report[0] since i realise i have ran into the same thing myself. [0]: https://github.com/Duncaen/OpenDoas/issues/99