version 1.8, 2015/07/21 11:04:06 |
version 1.9, 2015/07/22 06:30:12 |
|
|
.Op Ar options |
.Op Ar options |
.Ar identity |
.Ar identity |
.Op Ic as Ar target |
.Op Ic as Ar target |
.Oo |
.Op Ic cmd Ar command Op Ic args ... |
.Ic cmd Ar command Op Ic args ... |
|
.Oc |
|
.Ed |
.Ed |
.Pp |
.Pp |
Rules consist of the following parts: |
Rules consist of the following parts: |
|
|
The command the user is allowed or denied to run. |
The command the user is allowed or denied to run. |
The default is all commands. |
The default is all commands. |
Be advised that it's best to specify absolute paths. |
Be advised that it's best to specify absolute paths. |
.It Ic args Op ... |
.It Ic args ... |
Arguments to command. |
Arguments to command. |
If specified, the command arguments set provided by user and |
If specified, the command arguments provided by the user |
the command arguments set in rule should be the same for successful |
need to match for the command to be successful. |
rule match. |
|
Specifying |
Specifying |
.Ic args |
.Ic args |
alone means that command should be run without any arguments. |
alone means that command should be run without any arguments. |