
|
 |
Messages Resource
|
Index
|
Variable Expansion
|
|
|
Console Configuration
General
The Console configuration file is the simplest of all the
configuration files, and in general, you should not need to
change it except for the password.
It simply contains the information necessary to
contact the Director or Directors.
For a general discussion of configuration file and resources
including the data types recognized by Bacula, please
see the Configuration chapter of this
manual.
The following Console Resource definition must be defined:
- Director -- to
define the Director's name and his access password. Note,
you may define more than one Director resource in the
Console configuration file. If you do so, the Console program
will ask you which one you want to use.
The Director resource defines the attributes of the Director running on
the network.
You may have multiple Director resource specifications in a
single Console configuration file. If you have
more than one, you will be prompted to choose one when you start
the Console program.
- Director
- Start of the Director records.
- Name = <name>
- The director name used to select
among different Directors, otherwise, this name is not used.
- DIRPort = <port-number>
- Specify the port to use to connect
to the Director. This value will most likely already be set to the value
you specified on the --with-base-port option of the
./configure command. This port must be identical to the
DIRport specified in the Director resource of the Director's configuration file.
The default is 9101 so this record is not normally specified.
- Address = <address>
- Where the address is a host name,
a fully qualified domain name, or a network address used to connect
to the Director.
- Password = <password>
- Where the password is the
password needed for the Director to accept the Console connection.
This password must be identical to the Password specified in
the Director resource of the Director's configuration file. This
record is required.
An actual example might be:
Director {
Name = HeadMan
address = rufus.cats.com
password = xyz1erploit
}
The ConsoleFont Resource
The ConsoleFont resource is available only in the GNOME version
of the console. It permits you to define the font that you
want used to display in the main listing window.
- ConsoleFont
- Start of the ConsoleFont records.
- Name = <name>
- The name of the font.
- Font = <X-Window Font Specification>
-
The string value given here defines the desired font. It
is specified in the standard cryptic X Window format. For
example, the default specification is:
Font = "-misc-fixed-medium-r-normal-*-*-130-*-*-c-*-iso8859-1"
Thanks to Phil Stracchino for providing the code for this feature.
An actual example might be:
ConsoleFont {
Name = Default
Font = "-misc-fixed-medium-r-normal-*-*-130-*-*-c-*-iso8859-1"
}
The Console Resource
As of Bacula version 1.33 and higher, there are three different
kinds of consoles, which the administrator or user can use to
interact with the Director. These three kinds of consoles comprise
three different security levels.
- The first console type is an anonymous or default
console, which has full privileges. There is no console
resource necessary for this type since the password is
specified in the Director resource. This is the kind of
console that was initially implemented in versions prior to
1.33 and remains valid. Typically you would use it only
for administrators.
- The second type of console, and new to version 1.33 and
higher is a "named" console defined within a
Console resource in both the Director's configuration file
and in the Console's configuration file. Both the names
and the passwords in these two entries must match much as
is the case for Client programs.
This second type of
console begins with absolutely no privileges except those
explicitly specified in the Director's Console resource.
Thus you can have multiple Consoles with different names
and passwords, sort of like multiple users, each with
different privileges. As a default, these consoles can do
absolutely nothing -- no commands what so ever. You give
them privileges or rather access to commands and resources
by specifying access control lists in the Director's
Console resource. Note, if you are specifying such a
console, you will want to put a null password in the
Director resource.
- The third type of console is similar to the above mentioned
one in that it requires a Console resource definition in
both the Director and the Console. In addition, if the
console name, provided on the Name = directive, is
the same as a Client name, the user of that console is
permitted to use the SetIP command to change the
Address directive in the Director's client resource to the
IP address of the Console. This permits portables or other
machines using DHCP (non-fixed IP addresses) to
"notify" the Director of their current IP
address.
The Console resource is optional and need not be specified.
Console Commands
For more details on running the console and its commands, please
see the Bacula Console chapter
of this manual.
A example Console configuration file might be the following:
#
# Bacula Console Configuration File
#
Director {
Name = HeadMan
address = "my_machine.my_domain.com"
Password = Console_password
}
Messages Resource
|
Index
|
Variable Expansion
|
|
 |
|
|