CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2015/12/08 06:39:40

Modified files:
        usr.bin/doas   : doas.1 doas.c 

Log message:
Support -a <auth_style> in doas(1). Allows specifying a non-default auth
style, for example if you have "auth-doas=yubikey,passwd" in login.conf,
doas will usually want yubikey authentication, but will allow a fallback
of "doas -a passwd".

Avoids the need for sudo in a number of cases, at the expense of 5 added
lines of code (and one of those is only to avoid >80 columns).

Adapted from a diff by Renaud Allard, ok dlg@ tedu@

Reply via email to