GNU Rush |
|
Restricted User Shell |
Sergey Poznyakoff |
The rule
statement configures a GNU rush
rule.
This is a block statement, which means that all statements
located between it and the next rule
statement (or end of file,
whichever occurs first) modify the definition of that rule.
The syntax of the rule
statement is:
The tag argument is optional. If it is given, it supplies a
tag for the rule, i.e. a (presumably unique) identifier, which
is used to label this rule. Rush
uses this tag in its diagnostic
messages. For rules without explicit tag, Rush
supplies a
default tag, which is constructed by concatenating ‘#’ character
and the ordinal number of rule in the configuration file, in decimal
notation. Rule numbering starts from ‘1’.
Each rule group can contain a number of statements that control what kind of requests match that rule and what actions are taken when the rule is matched. Arguments to this statements can refer to command line arguments and other parts of the request.
This document was generated on January 2, 2022 using makeinfo.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.