X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=doas.conf.5;h=811062872748f63801083be40eda1cc446391da0;hb=268a2845e4009af47dbd2bb272853028bee92fc7;hp=212e0bb573a0f4d3014e383a279ea965cae9cec1;hpb=2a5702a91039473d001e4ac8b9f624d6b1f33fa5;p=opendoas.git diff --git a/doas.conf.5 b/doas.conf.5 index 212e0bb..8110628 100644 --- a/doas.conf.5 +++ b/doas.conf.5 @@ -72,14 +72,17 @@ The default is all users. .It Ic cmd Ar command 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. +Be advised that it is best to specify absolute paths. +If a relative path is specified, only a restricted +.Ev PATH +will be searched. .It Ic args ... Arguments to command. If specified, the command arguments provided by the user -need to match for the command to be successful. -Specifying +need to match those specified. +The keyword .Ic args -alone means that command should be run without any arguments. +alone means that command must be run without any arguments. .El .Pp The last matching rule determines the action taken.