HP-UX AAA Server A.07.01 Administrator's Guide
For information on attribute functions (such as the count attribute function), see
“Attribute Functions” (page 295).
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 293).
• <value-expr>: The <value-expr> is a value expression. It can be a value specification,
an attribute specification, or an attribute function. For more information, see
“Attribute Specifications” (page 293), “Value Types” (page 301), and “Attribute
Functions” (page 295).
NOTE: The types of <attr-spec> and <value-expr> must be compatible. For more
information on compatibility, see “Type Compatibility” (page 303).
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 25-4 discusses some examples illustrating the use of the modify command.
Table 25-4 Examples Illustrating the Use of the modify Command
ResultCommandAttributes in the Request
Reply-Message = "123"
Reply-Message = "abc"
modify Reply-Message =
"abc"
Reply-Message = "123"
Reply-Message = "456"
Reply-Message = "123"
Reply-Message = "123"
modify Reply-Message =
Reply-Message[0]
Reply-Message = "123"
Reply-Message = "456"
NAS-Identifier = "wxyz"
modify NAS-Identifier =
"wxyz"
NAS-Identifier =
"abc.def.ghi"
Tunnel-Password = :2:"def"
modify Tunnel-Password =
"def"
Tunnel-Password =
:2:"abc"
Tunnel-Password = :2:"ghi"
modify Tunnel-Password =
:4:"ghi"
Tunnel-Password =
:2:"abc"
Defining a Policy in a Decision File 289