Safeguard Reference Manual (G06.29+, H06.08+, J06.03+)

Table Of Contents
Device and Subdevice Security Commands
Safeguard Reference Manual 520618-030
10 - 10
ALTER DEVICE and SUBDEVICE Commands
AUDIT-MANAGE-FAIL [audit-spec]
changes the audit-spec for unsuccessful attempts to manage this device or
subdevice authorization record. The form of audit-spec is:
{ ALL | LOCAL | REMOTE | NONE }
For a description of the audit-specs, see the
SET DEVICE and
SUBDEVICE Commands on page 10-26. Omitting audit-spec specifies
NONE.
WARNING-MODE { ON | OFF }
defines whether warning mode is enabled for the specified device or
subdevice. The value is required. For more information on warning mode, see
the Safeguard Administrator's Manual.
ON enables warning mode for the specified device or subdevice. The initial
value is OFF, which disables warning mode for the specified device or
subdevice.
Consideration
Any attribute specifications in an ADD DEVICE or SUBDEVICE command affect only
the authorization record being created and do not change the current default values.
This condition is also true for a LIKE clause in an ADD DEVICE or SUBDEVICE
command.
Example
You can use a LIKE device-name clause to define all the attribute values for a device
and then change any of those values by specifying one or more attribute values after
the LIKE attribute. For example, this command adds an authorization record for $LP2
that has the same device attribute values (and ACL) as $LP1 except for the OWNER
attribute and provide its description:
=ADD DEVICE $lp2, OBJECT-TEXT-DESCRIPTION “Record created”,&
LIKE $lp1, OWNER super.bob
ALTER DEVICE and SUBDEVICE Commands
ALTER DEVICE or SUBDEVICE changes one or more attribute values in an
authorization record.
An owner of a device, the primary owners group manager, and the super ID can alter
a device authorization record. Similarly, an owner of a subdevice’s authorization
record, the primary owner’s group manager, and the super ID can alter a subdevice
authorization record.
Except for the ACCESS attribute, new attribute values specified in an ALTER DEVICE
or SUBDEVICE command replace the existing attribute values with the specified
values. Using ALTER DEVICE or SUBDEVICE to specify a new ACCESS access-