SYNOPSIS

dacsconf [\m[blue]dacsoptions\m[]\s-2\u[1]\d\s+2] [-vars] [directive-name...] dacsconf [-item_types]

DESCRIPTION

This program is part of the DACS suite.

The dacsconf utility processes DACS configuration files (see \m[blue]dacs.conf(5)\m[]\s-2\u[2]\d\s+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]EVAL\m[]\s-2\u[3]\d\s+2 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[]\s-2\u[4]\d\s+2.

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.css\m[]\s-2\u[5]\d\s+2

DIAGNOSTICS

The program exits 0 if everything was fine, 1 if an error occurred. Error messages are printed to stderr.

RELATED TO dacsconf…

\m[blue]dacs_conf(8)\m[]\s-2\u[4]\d\s+2, \m[blue]dacs.conf(5)\m[]\s-2\u[2]\d\s+2

AUTHOR

Distributed Systems Software (\m[blue]www.dss.ca\m[]\s-2\u[6]\d\s+2)

COPYING

Copyright2003-2012 Distributed Systems Software. See the \m[blue]LICENSE\m[]\s-2\u[7]\d\s+2 file that accompanies the distribution for licensing information.

NOTES

1.

dacsoptions

http://dacs.dss.ca/man/dacs.1.html#dacsoptions

2.

dacs.conf(5)

http://dacs.dss.ca/man/dacs.conf.5.html

3.

EVAL

http://dacs.dss.ca/man/dacs.conf.5.html#EVAL

4.

dacs_conf(8)

http://dacs.dss.ca/man/dacs_conf.8.html

5.

conf.css

http://dacs.dss.ca/man//css/conf.css

6.

www.dss.ca

http://www.dss.ca

7.

LICENSE

http://dacs.dss.ca/man/../misc/LICENSE