On Wed, Jan 23, 2019 at 05:55:54PM -0500, Ted Unangst wrote: > Stuart Henderson wrote: > > On 2019/01/22 21:46, Ted Unangst wrote: > > > The persist feature in doas (actually the kernel side implementation) has > > > some > > > additional checks. The idea was to prevent accidental usage, but in > > > practice > > > it seems this is making life more difficult than necessary. It's cost > > > without > > > benefit. This diff relaxes the session checks so it should be possible to > > > use > > > doas in ports building, etc. > > > > Fixing this would be very welcome and would stop some ports users from > > either running with nopass or continuing to use sudo. But it doesn't help: > > > > configure doas to use persist > > set SUDO=doas in mk.conf > > cd /usr/ports/math/moo # example simple/quick port > > make reinstall > > > > Here you're asked for your password twice. > > Is make creating a second process group? I guess it is for job control? Need > to find a place to stick the verauth flag such that later doas can find it...
No it's not. Doesn't mean *something else* in the chain isn't.