Shows
the value that is associated with the specified stanza
and key in the Security Access Manager server
configuration files or in customized server configuration files. The
stanza and key must exist, or an error is displayed.
Requires a local
login to use this command. No authentication
is required.
Syntax
config
show config_file stanza key
Options
- config_file
- Specifies the Security Access Manager or
custom configuration file to use. Unless the configuration file is
in the current directory, the configuration file name must be a fully
qualified path name. The necessary operating system permissions are
required to read and update the configuration file. The default names
for the configuration files are documented in the Security Access Manager administration
guides.
- key
- Specifies the configuration value to associate with the key in
the specified configuration file stanza. Valid key-value pairs are
documented in the Security Access Manager administration
guides.
- stanza
- Specifies the name of a Security Access Manager or
custom stanza that contains the input key. A valid stanza name is
an alphanumeric string that is not case-sensitive. String values are
expected to be characters that are part of the local code set. Valid
stanzas are documented in the Security Access Manager administration
guides.
Return codes
- 0
- The command completed successfully.
- 1
- The command failed. When a command
fails, the pdadmin command
provides a description of the error and an error status code in hexadecimal
format (for example, 0x14c012f2). See the IBM Security Access Manager for Web:
Error Message Reference. This reference provides a list of
the Security Access Manager error
messages by decimal or hexadecimal codes.
Examples
- The following example provides
a local login and requests the
value of the version key for the [meta-info] stanza.
The value is 1296. The prompt changes to show that
the login is local:
pdadmin> login -l
pdadmin local> config show "c:\Program Files\Tivoli\Policy
Directory\etc\activedir.conf" meta-info version
Provides
output like: 1296
- The following example
provides a local login and requests the
value of the enabled key for the [ldap] stanza.
The output provides a key value of yes. The prompt
changes to show that the login is local:
pdadmin>login -l
pdadmin local> config show "C:\Program Files\Tivoli\Policy Director\etc\ldap.conf"
ldap enabled
Provides output like: yes