HMC Manual Reference Pages  - LSACCFG (1)

NAME

lsaccfg - list access control configuration information

CONTENTS

Synopsis
Description
Options
Examples
Environment
Bugs
Author
See Also

SYNOPSIS

lsaccfg -t {resource | resourcerole | taskrole}
[--script] [--filter "filter-data"]
[-F [attribute-names] [--header]] [--help]

DESCRIPTION

lsaccfg lists managed resource objects, managed resource roles, or task roles.

OPTIONS

-t The type of access control objects to list. Valid values are resource for managed resource objects, resourcerole for managed resource roles, and taskrole for task roles.
--script List managed resource objects in a format that can be used as input to the chaccfg, chhmcusr, and mkaccfg commands.

This option is only valid when listing managed resource objects.

--filter The filter to apply to the access control objects to be listed. A filter is used to select which access control objects of the specified type are to be listed. If a filter is not used, then all of the access control objects of the specified type will be listed. For example, specific task roles can be listed by using a filter to specify the names of the task roles to list. Otherwise, if no filter is used, then all of the task roles on this Hardware Management Console (HMC) will be listed.

The filter data consists of filter name/value pairs, which are in comma separated value (CSV) format. The filter data must be enclosed in double quotes.

The format of the filter data is as follows:

"filter-name=value,filter-name=value,..."

Note that certain filters accept a comma separated list of values, as follows:

"" filter-name=value,value,... ",..."

When a list of values is specified, the filter name/value pair must be enclosed in double quotes. Depending on the shell being used, nested double quote characters may need to be preceded by an escape character, which is usually a ’#146; character.

Multiple values can be specified for each filter.

Valid filter names for managed resource objects:
resource_type
Specify resource type(s):
cec - managed system objects
lpar - partition objects

Valid filter names for managed resource roles:
resourceroles
Specify managed resource role name(s)

Valid filter names for task roles:
taskroles
Specify task role name(s)

-F A delimiter separated list of attribute names for the desired attribute values to be displayed for each access control object. If no attribute names are specified, then values for all of the attributes for each access control object will be displayed.

When this option is specified, only attribute values will be displayed. No attribute names will be displayed. The attribute values displayed will be separated by the delimiter which was specified with this option.

This option is useful when only attribute values are desired to be displayed, or when the values of only selected attributes are desired to be displayed.

--header Display a header record, which is a delimiter separated list of attribute names for the attribute values that will be displayed. This header record will be the first record displayed. This option is only valid when used with the -F option.
--help Display the help text for this command and exit.

EXAMPLES

List all managed resource objects on this HMC:

lsaccfg -t resource

List only managed partition objects on this HMC:

lsaccfg -t resource --filter "resource_type=lpar"

List all managed resource roles on this HMC:

lsaccfg -t resourcerole

List the managed resource role lpar_role:

lsaccfg -t resourcerole --filter "resourceroles=lpar_role"

List only the names and parents of the task roles on this HMC, and separate the output values with a colon:

lsaccfg -t taskrole -F name:parent

List the task roles tr1 and tr2:

lsaccfg -t taskrole --filter ""taskroles=tr1,tr2""

ENVIRONMENT

None

BUGS

None

AUTHOR

IBM Austin

SEE ALSO

chaccfg, mkaccfg, rmaccfg, chhmcusr, lshmcusr


Linux LSACCFG (1) "May 2004"
Generated by manServer 1.07 from lsaccfg.1 using man macros.