HP-UX AAA Server A.08.02 Administrator's Guide
Action Commands
A decision file contains a series of action commands that specify the action to be performed by
the policy. Following are the action commands that you can specify:
• “The delete Command.”
• “The insert Command.”
• “The modify Command” (page 304)
• “The exit Command” (page 305)
• “The log Command” (page 306)
• “The if Command” (page 306)
The following sections discuss these action commands in detail.
The delete Command
Syntax
delete <attr-spec>
Parameters
The <attr-spec> parameter is an attribute specification. For more information on specifying
attributes, see “Attribute Specifications” (page 308).
Operation
The delete command deletes the specified attribute instance(s) from the request. If <attr-spec>,
refers to an instance that is not present, no instance is deleted.
Examples
Table 88 discusses some examples that illustrate the use of the delete command.
Table 88 Examples Illustrating the Use of the delete Command
ResultCommandAttributes in the Request
NAS-Port = 2
NAS-IP-Address = "2.3.4.5"
delete Reply-Message[*]
NAS-Port = 2
Reply-Message = "Hello,
world!"
Reply-Message = "So long"
NAS-IP-Address = "2.3.4.5"
NAS-Port = 2
Reply-Message = "Hello,
delete Reply-Message
NAS-Port = 2
Reply-Message = "Hello,
world!"
NAS-IP-Address = "2.3.4.5"
world!"
Reply-Message = "So long"
NAS-IP-Address = "2.3.4.5"
NAS-Port = 2
Reply-Message = "So long"
NAS-IP-Address = "2.3.4.5"
delete Reply-Message[0]
NAS-Port = 2
Reply-Message = "Hello,
world!"
Reply-Message = "So long"
NAS-IP-Address = "2.3.4.5"
NAS-Port = 2
Reply-Message = " Hello,
world!"
delete NAS-IP-Address[*]
NAS-Port = 2
Reply-Message = "Hello,
world!"
302 Customizing the HP-UX AAA Server Using Policies