HP-UX Secure Resource Partitions (SRP) A.02.00 Administrator's Guide
The srp utility skips the prompt for the ip_address variable in the
interactive dialog and uses the specified value, unless you use it with
the -batch option. If you use it with the -batch option, it uses the
default values for the other parameters, as described in “Using srp in
Batch Mode” (page 72).
Deleting Configuration Data
Use the following command to delete template or service data from an SRP compartment:
srp -d[elete] compartment_name [-t[emplate] template[,template]...]
[-s[ervice] service[,service]...] [-i[d] instance]
Where:
compartment_name
Specifies the name of an existing SRP compartment.
template Specifies the template name. If you specify multiple templates, srp
processes each template in the order specified.
Valid Input: base, apache, custom, oracledb, sshd.
Default: All templates configured for the SRP compartment.
service
Specifies the name of the service to delete.
If you specify multiple services, srp processes each service for each
template in the order specified.
NOTE: You cannot delete the cmpt service from a compartment. The
cmpt service required for all SRP compartments.
Default: All services configured for the template.
instance
Specifies a unique string identifier used to identify an instance of a
template usage for templates that can be applied multiple times. This
is valid for the custom template only and is ignored for all other
templates.
If you do not specify the -id argument and are using the custom
template, srp prompts you for an instance identifier.
Valid Input: A text string with alphanumeric, dash (-) , or underscore
(_) characters. The maximum length is 20 characters.
Default: None.
CAUTION: If you do not specify the -template and -service arguments, srp deletes all
data for the compartment.
Replacing Configuration Data
Use the following command to replace template or service data from an SRP compartment:
srp -r[eplace] compartment_name [-t[emplate] template[,template]...]
[-s[ervice] service[,service]...] [-i[d] instance] [variable=value]...
Where:
compartment_name
Specifies the name of an existing SRP compartment.
template Specifies the template name. If you specify multiple templates, srp
processes each template in the order specified.
Valid Input: base, apache, custom, oracledb, sshd.
Deleting Configuration Data 69