]> git.armaanb.net Git - opendoas.git/commitdiff
tweak previous; ok zhuk
authorJean-Marie Cannie <jmc@openbsd.org>
Wed, 22 Jul 2015 06:30:12 +0000 (06:30 +0000)
committerJean-Marie Cannie <jmc@openbsd.org>
Wed, 22 Jul 2015 06:30:12 +0000 (06:30 +0000)
doas.conf.5

index 7510bd0b4ac0219f36d7e766307e9b9a29b337ea..6f9316411a240d3009fd656e8b052ddeea09f84b 100644 (file)
@@ -1,4 +1,4 @@
-.\" $OpenBSD: doas.conf.5,v 1.7 2015/07/20 20:18:45 tedu Exp $
+.\" $OpenBSD: doas.conf.5,v 1.8 2015/07/21 11:04:06 zhuk 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 20 2015 $
+.Dd $Mdocdate: July 21 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.