Up to [local] / src / usr.bin / doas
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_5_9
Revision 1.15 / (download) - annotate - [select for diffs], Tue Dec 8 13:39:40 2015 UTC (8 years, 5 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.14: +16 -2 lines
Diff to previous 1.14 (colored)
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@