summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2015-07-22 06:30:13 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2015-07-22 06:30:13 +0000
commite417e9893bf105c5f13ef97856a0cd7f958a01bd (patch)
treed31a40752d909a35c971634f7872c6796ffdb355 /usr.bin
parent01edfe7b6095a925f6b2bee5a1ce5fc6c72c0174 (diff)
tweak previous; ok zhuk
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/doas/doas.conf.515
1 files changed, 6 insertions, 9 deletions
diff --git a/usr.bin/doas/doas.conf.5 b/usr.bin/doas/doas.conf.5
index 67da1f0e47f..f64ce704cbb 100644
--- a/usr.bin/doas/doas.conf.5
+++ b/usr.bin/doas/doas.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: doas.conf.5,v 1.8 2015/07/21 11:04:06 zhuk Exp $
+.\" $OpenBSD: doas.conf.5,v 1.9 2015/07/22 06:30:12 jmc Exp $
.\"
.\"Copyright (c) 2015 Ted Unangst <tedu@openbsd.org>
.\"
@@ -13,7 +13,7 @@
.\"WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\"ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\"OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.Dd $Mdocdate: July 21 2015 $
+.Dd $Mdocdate: July 22 2015 $
.Dt DOAS.CONF 5
.Os
.Sh NAME
@@ -33,9 +33,7 @@ The rules have the following format:
.Op Ar options
.Ar identity
.Op Ic as Ar target
-.Oo
-.Ic cmd Ar command Op Ic args ...
-.Oc
+.Op Ic cmd Ar command Op Ic args ...
.Ed
.Pp
Rules consist of the following parts:
@@ -73,11 +71,10 @@ The default is root.
The command the user is allowed or denied to run.
The default is all commands.
Be advised that it's best to specify absolute paths.
-.It Ic args Op ...
+.It Ic args ...
Arguments to command.
-If specified, the command arguments set provided by user and
-the command arguments set in rule should be the same for successful
-rule match.
+If specified, the command arguments provided by the user
+need to match for the command to be successful.
Specifying
.Ic args
alone means that command should be run without any arguments.