OpenBSD CVS

CVS log for src/usr.bin/doas/doas.1


[BACK] Up to [local] / src / usr.bin / doas

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.26 / (download) - annotate - [select for diffs], Thu Dec 22 19:53:22 2022 UTC (16 months, 3 weeks ago) by kn
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, HEAD
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

Denote multiple arguments with 'arg ...' not 'args'

A few programs used the plural in their synopsis which doesn't read as
clear as the obvious triple-dot notation.

mdoc(7) .Ar defaults to "file ..." if no arguments are given and consistent
use of 'arg ...' matches that behaviour.

Cleanup a few markups of the same argument so the text keeps reading
naturally;  omit unhelpful parts like 'if optional arguments are given,
they are passed along' for tools like time(1) and timeout(1) that obviously
execute commands with whatever arguments where given -- just like doas(1)
which doesn't mention arguments in its DESCRIPTION in the first place.

For expr(1) the difference between 'expressions' and 'expression ...' is
crucial, as arguments must be passed as individual words.

Feedback millert jmc schwarze deraadt
OK jmc

Revision 1.25 / (download) - annotate - [select for diffs], Sat Jan 16 09:18:41 2021 UTC (3 years, 4 months ago) by martijn
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

s/authorization/authentication/g

OK kn@ tedu@

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jan 15 08:32:55 2021 UTC (3 years, 4 months ago) by martijn
Branch: MAIN
Changes since 1.23: +5 -5 lines
Diff to previous 1.23 (colored)

Be more explicit by stating that the -n flag is linked to the nopass option
in doas.conf instead of a generic "would prompt for password", which could
lead people into believing that persist could work with this option.

OK tedu@
Feedback and OK kn@

Revision 1.23 / (download) - annotate - [select for diffs], Thu Jul 4 19:04:17 2019 UTC (4 years, 10 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.22: +5 -2 lines
Diff to previous 1.22 (colored)

note that authentication is required, unless otherwise configured.
ok sthen

Revision 1.22 / (download) - annotate - [select for diffs], Fri Jun 21 17:02:27 2019 UTC (4 years, 10 months ago) by tedu
Branch: MAIN
Changes since 1.21: +6 -3 lines
Diff to previous 1.21 (colored)

tweak wording a bit. always talk about creating a new environment.
also document DOAS_USER.
ok deraadt jmc

Revision 1.21 / (download) - annotate - [select for diffs], Wed Jun 19 09:50:13 2019 UTC (4 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.20: +4 -2 lines
Diff to previous 1.20 (colored)

mention that doas(1) resets the umask(2);
OK tedu@

Revision 1.20 / (download) - annotate - [select for diffs], Mon Jun 17 18:44:44 2019 UTC (4 years, 11 months ago) by tedu
Branch: MAIN
Changes since 1.19: +19 -2 lines
Diff to previous 1.19 (colored)

mention environment resetting here as well. ok millert

Revision 1.19 / (download) - annotate - [select for diffs], Sun Sep 4 15:20:37 2016 UTC (7 years, 8 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.18: +3 -2 lines
Diff to previous 1.18 (colored)

-L means no command

Revision 1.18 / (download) - annotate - [select for diffs], Fri Sep 2 20:38:05 2016 UTC (7 years, 8 months ago) by tedu
Branch: MAIN
Changes since 1.17: +5 -3 lines
Diff to previous 1.17 (colored)

clarify that -L will exit without running a command.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Sep 2 18:12:30 2016 UTC (7 years, 8 months ago) by tedu
Branch: MAIN
Changes since 1.16: +5 -3 lines
Diff to previous 1.16 (colored)

add support for the verified auth ioctls using 'persist' rules.
ok deraadt henning

Revision 1.16 / (download) - annotate - [select for diffs], Sat Jun 11 04:38:21 2016 UTC (7 years, 11 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.15: +6 -11 lines
Diff to previous 1.15 (colored)

tighten up some wording

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@

Revision 1.14 / (download) - annotate - [select for diffs], Mon Jul 27 17:57:06 2015 UTC (8 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)

some improvements from michael reed;

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jul 26 23:00:15 2015 UTC (8 years, 9 months ago) by tedu
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

small clarifications

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jul 26 20:47:01 2015 UTC (8 years, 9 months ago) by espie
Branch: MAIN
Changes since 1.11: +7 -3 lines
Diff to previous 1.11 (colored)

nflag (as in sudo, force non-interactive mode)
as discussed with ted@

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jul 26 17:24:02 2015 UTC (8 years, 9 months ago) by zhuk
Branch: MAIN
Changes since 1.10: +21 -1 lines
Diff to previous 1.10 (colored)

Implement command matching without execution. This just extends
functionality of the -C flag, so we are not introducing more garbage.

Input and okay from jmc@ (documentation) and tedu@ (everything).

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jul 21 17:49:33 2015 UTC (8 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

options w/o args go first in SYNOPSIS, and add -C to usage();

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jul 21 16:12:04 2015 UTC (8 years, 10 months ago) by tedu
Branch: MAIN
Changes since 1.8: +8 -2 lines
Diff to previous 1.8 (colored)

cases should line up with switch, from Dimitris Papastamos

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jul 21 11:04:06 2015 UTC (8 years, 10 months ago) by zhuk
Branch: MAIN
Changes since 1.7: +3 -1 lines
Diff to previous 1.7 (colored)

Add argument matching support to doas.

Input and generic support from many. Final okay from tedu@.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jul 19 17:00:22 2015 UTC (8 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

whitespace;

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jul 19 16:42:31 2015 UTC (8 years, 10 months ago) by espie
Branch: MAIN
Changes since 1.5: +5 -3 lines
Diff to previous 1.5 (colored)

spell out complete path to config file, okay tedu@

Revision 1.5 / (download) - annotate - [select for diffs], Sat Jul 18 06:33:23 2015 UTC (8 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.4: +7 -1 lines
Diff to previous 1.4 (colored)

Add doas -s as a shorthand for doas $SHELL. ok tedu

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jul 17 20:50:31 2015 UTC (8 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

add some missing content and markup and optimize some indentation
ok tedu@

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jul 17 20:24:41 2015 UTC (8 years, 10 months ago) by tedu
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

tweak wording

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jul 17 17:11:18 2015 UTC (8 years, 10 months ago) by tedu
Branch: MAIN
Changes since 1.1: +6 -4 lines
Diff to previous 1.1 (colored)

improve wording, from Thanos Tsouanas

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jul 16 20:44:21 2015 UTC (8 years, 10 months ago) by tedu
Branch: MAIN

import doas. still subject to changes, large and small.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.