Black Box LES1101A-R2 User Manual page 119

1101 and 1102 secure device servers
Hide thumbs Also See for LES1101A-R2:
Table of Contents

Advertisement

The config tool
Syntax
config [ -ahv ] [ -d id ] [ -g id ] [ -p path ] [ -r configurator ] [ -s id=value ] [ -P id ]
Description
The config tool is designed to perform multiple actions from one command if needed, so options can be chained together.
The config tool allows you to manipulate and query the system configuration from the command line. Using config, you can activate the new
configuration by running the relevant configurator that performs the action needed to make the configuration changes live.
The custom user configuration is saved in the /etc/config/config.xml file. This file is transparently accessed and edited when configuring the device
using the Management Console browser GUI. Only the user "root" can configure from the shell.
By default, the config elements are separated by a '.' character. The root of the config tree is called <config>. To address a specific element place a
'.' between each node/branch. For example, to access and display the description of user1 type:
# config -g config.users.user1.description
The root node of the config tree is <config>. To display the entire config tree, type:
# config -g config
To display the help text for the config command, type:
# config –h
The config application resides in the /bin directory. The environmental variable called PATH contains a route to the /bin directory. This allows a user
to simply type config at the command prompt instead of the full path /bin/config.
Options
-a –run-all
-h –help
-v –verbose
-d –del=id
-g –get=id
-p –path=file
-r –run=configurator
-s --set=id=value
-e --export=file
-i --import=file
-t --test-import=file
-S --separator=char
-P --password=id
Chapter 14: Configuration from the Command Line
Run all registered configurators. This performs every configuration synchronization action pushing all changes to
the live system.
Display a brief usage message.
Log extra debug information.
Remove the given configuration element specified by a '.' separated identifier.
Display the value of a configuration element.
Specify an alternate configuration file to use. The default file is located at /etc/config/config.xml.
Run the specified registered configurator. Registered configurators are listed below.
Change the value of configuration element specified by a '.' separated identifier.
Save active configuration to file.
Load configuration from file.
Pretend to load configuration from file.
The pattern to separate fields with, default is '.'
Prompt user for a value. Hash the value, then save it in id.
724-746-5500 | blackbox.com
119

Advertisement

Table of Contents
loading

This manual is also suitable for:

Les1102a11011102

Table of Contents