HP-UX AAA Server A.08.01 administrator's guide (T1428-90072, May 2010)

Table Of Contents
Table 27-3 Examples Illustrating the Use of the insert Command (continued)
ResultCommandAttributes in the Request
Reply-Message = "abc"
NAS-Port = 1
insert NAS-Port = count(
Reply-Message[*] )
Reply-Message = "abc"
Idle-Timeout = 10
Xvalue = 20
Session-Timeout = 200
insert Session-Timeout =
Idle-Timeout * Xvalue
Idle-Timeout = 10
Xvalue = 20
For information on attribute functions (such as the count attribute function), see
Attribute Functions” (page 424).
The modify Command
Syntax
modify <attr-spec> = <value-expr>
Parameters
<attr-spec>: The <attr-spec> is an attribute specification. For more information on
specifying attributes, see Attribute Specifications” (page 422).
<value-expr>: The <value-expr> is a value expression. It can be a value specification,
an attribute specification, an arithmetic expression, or an attribute function. For
more information, see Attribute Specifications” (page 422), Arithmetic
Expressions” (page 431), “Value Types” (page 430), and Attribute Functions”
(page 424).
NOTE: The types of <attr-spec> and <value-expr> must be compatible. For more
information on compatibility, see “Type Compatibility” (page 434).
Operation
The modify command modifies <attr-spec> to obtain the value <value-expr>.
NOTE: If <attr-spec> refers to a tagged attribute (tag-int or tag-str) and <value-spec> is
a tagged value, the tag of <attr-spec> is not modified. The value of the <attr-spec>
parameter is only modified.
Examples
Table 27-4 discusses some examples illustrating the use of the modify command.
Defining a Policy in a Decision File 417