Advanced configuration for Ingres
Optional features of the Ingres drivers, each with its own settings.
Advanced configuration for Ingres
Optional features of the Ingres drivers, each with its own settings.
Configuring OS-Level Authentication ( OpSysLogin )
The Multi-Tier OpSysLogin feature authenticates users at the operating system level.
This provides enhanced security for databases with known security issues, such as older versions of Informix, Ingres, or Progress, which lack internal user authentication.
Note: The OpSysLogin feature requires that the Request Broker run with permissions of the root user.
After enabling the feature as described below, we recommend using the Multi-Tier security Utility to enable ordinary users to launch the Broker with root permissions.
Use the following instructions to configure OpSysLogin, if required for your deployment.
- Log in to the Request Broker host.
- Open the active Rulebook (e.g.,
oplrqb.ini) in a text editor.
- Locate the
[generic_xxxxx]section, which corresponds to the relevant Database Agent. For example:
INI [generic_inf2000] Description = Default settings for Informix 2000 agent Program = inf9_mv Environment = INFORMIX2000 ;OpsysLogin = No ReUse = always ;CommandLine = ;ConnectOptions = ;Directory = /tmp ;Database = ;Userid = ;Password = ;ReadOnly = Yes
- Locate the
OpsysLoginparameter.
- Ensure that no semicolon ("
;") appears in front ofOpSysLogin.
- Set
INI OpsysLogin = Yes
- Save your changes and exit the file.
- Restart or reinitialize (
oplshut +reinit) your Request Broker service.
Multi-Tier security Utility
Due to the Unix security model, certain kernel calls can only be used when the process is run by, or with the permissions of, the root user.
One of these function calls was needed for the PingWatchDog protocol (deprecated since UDA Release 4.x).
Database security considerations, including the OpSysLogin feature, can also lead to this need.
In both case, the Request Broker must be run as root.
This can be accomplished in two ways:
- The user logs in as
rootbefore launching the Request Broker.
- The Request Broker is flagged to run under root privileges, and the user enabled to launch it from any normally privileged account.
The first option requires that all the user(s) who launch the Broker must know the root password, which should not generally be given to ordinary users.
Therefore we have built a solution which enables the second option, without all user(s) needing to know the root password.
The system administrator or other user who does know the root password can activate this solution by executing the following commands as root (adjusting the file path as needed for the local installation):
$ cd /opt/openlink/bin
$ ./security -s
This will have the following effects --
- The permissions of the
oplrqbexecutable are changed so it takes on the identity of "root" when launched.
- The Broker now knows the filesystem location of the Rulebook file,
oplrqb.ini, and will not accept certain startup flags so it cannot be tricked to read in a different Rulebook file at launch.
- The Rulebook file can now only be written to by the "
root" account; other accounts will only be able to read this file.
Any time a user tries to launch or terminate the broker, the StartupBy or ShutdownBy value within the [Security] section of the Rulebook is checked to see whether the user is allowed to do so.
To have full effect, the default wildcard values for these keywords should be replaced with relevant specific username(s).
As noted above, the Rulebook can now only be written to by the "root" user.
This means that ordinary users cannot modify this file, which often seems like an unpleasant side effect.
To overcome this, some system administrators are temped to modify the mode of the Rulebook file, reopening security risks.
This should be avoided.
Instead, the IncludeRuleBook parameter within the [Security] section should be used to divide the Rulebook into parts which others can manage as appropriate.
The system administrator can split up the Rulebook into different files which than can be included from the master Rulebook.
This makes specific sections available to normal users, but allows the system administrator to decide which sections can (or cannot!) be overruled by normal users.
The included Rulebooks cannot overrule any section within the master Rulebook.
This is a very powerful way of dealing with high security installations within large companies.
Default Driver Capability
Default Driver Capability
This feature is a driver default and requires no additional configuration.