On Tue, Dec 11, 2018 at 10:46:18PM +0100, Mark Kettenis wrote: > > Date: Tue, 11 Dec 2018 22:39:37 +0100 > > From: Antoine Jacoutot <ajacou...@bsdfrog.org> > > > > On Tue, Dec 11, 2018 at 04:27:19PM -0500, Ted Unangst wrote: > > > Mark Kettenis wrote: > > > > > From: "Ted Unangst" <t...@tedunangst.com> > > > > > Date: Mon, 10 Dec 2018 14:14:08 -0500 > > > > > Content-Type: text/plain; charset=utf-8 > > > > > > > > > > So I was actually looking at the passwd check rules because I wanted > > > > > to add a flag to disable the 3 bad passwords then ok whatever. > > > > > > > > > > This adds passwd -w to allow user to skip the default 3 warnings and > > > > > just do what they want. If, by chance, you have configured warnings > > > > > in login.conf then they can't override that. > > > > > > > > What is the motivation for this diff? > > > > > > i get tired of typing the same password five times. > > > > I also get tired of running 'doas foo' as root and being denied... Not > > trying > > to hijack the thread but could we "fix" that as well? > > Add > > permit nopass keepenv root as root > > in your /etc/doas.conf
Yes of course, but I hate configuring things ;-) -- Antoine