Displays domain attributes.
The lsdom command displays the attributes of the domain, which is defined from the domain database.
The command enables you to list attributes of all domains or specific domains. By default the lsdom command displays all domain attributes. To view selected attributes, use the -a list flag. If one or more attributes cannot be read, the lsdom command lists as much information as possible.
By default, the lsdom command lists each domain's attributes in one line. It displays attribute information as Attribute=Value definitions, each separated by a blank space. To list the domain attributes in stanza format, use the -f flag. To list the information as colon-separated records, use the -C flag.
Item | Description |
---|---|
-C | Displays the domain attributes in colon-separated
records. #domain:attribute1:attribute2: ... domain1:value1:value2: ... domain2:value1:value2: ... |
-f | Displays the output in stanzas, with each stanza
identified by a domain name. Each Attribute=Value pair
is listed in a separate line.
|
Item | Description |
---|---|
ALL | Indicates that the attributes of all domains must be listed. |
Name | Indicates the domain name whose attributes must be listed. |
Item | Description |
---|---|
aix.security.domains.list | Required to run the command. |
Item | Description |
---|---|
File | Mode |
/etc/security/domains | r |
lsdom hrdom
All the attribute information is shown with each attribute separated by a blank space.