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
This can be accomplished in two ways:
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 --
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.