SYNOPSIS
-
dacsconf [m[blue]dacsoptionsm[][1]] [-vars] [directive-name...]
- dacsconf [-item_types]
DESCRIPTION
The dacsconf utility processes DACS configuration files (see m[blue]dacs.conf(5)m[][2]) and outputs to stdout the values of directives or variable references currently in effect for the specified jurisdiction.
Although the order in which clauses appear in configuration files can be important, the order of configuration directives is for the most part not significant. The exception is the m[blue]EVALm[][3] directive. These directives are listed in the order in which they would be evaluated, and their unevaluated values appear in the output.
This program is also available as a DACS web service, m[blue]dacs_conf(8)m[][4].
-
Security
Because the configuration might reveal information that could be taken advantage of by an attacker, only the DACS administrator should be able to run this command.
OPTIONS
-item_types
- List the names of all predefined item types. The presence of a name does not imply that DACS has been configured to use the item type.
-vars
-
By default, directives that appear within a clause (e.g., <Auth> or <Roles>) are emitted in the context of that clause. This option "flattens" the output by emitting it in the form of
DACS
variables.
For example, the STYLE directive in an Auth section having an id of foo will appear as AUTH.FOO.STYLE in the output.
All variables in the Conf namespace are displayed, including those set by EVAL.
directive-name
- One or more directive names or variable references may be provided to limit the output. It is not an error if a directive-name is not defined.
FILES
m[blue]conf.cssm[][5]
DIAGNOSTICS
The program exits 0 if everything was fine, 1 if an error occurred. Error messages are printed to stderr.
AUTHOR
Distributed Systems Software (m[blue]www.dss.cam[][6])
COPYING
Copyright2003-2012 Distributed Systems Software. See the m[blue]LICENSEm[][7] file that accompanies the distribution for licensing information.
NOTES
- 1.
- dacsoptions
- 2.
- dacs.conf(5)
- 3.
- EVAL
- 4.
- dacs_conf(8)
- 5.
- conf.css
- 6.
- www.dss.ca
- 7.
-
LICENSE