Restricting Domain Process Privileges
Understanding Domain Process Privileges
For PeopleSoft systems, the Oracle ProcMGR service (tuxipc.exe) is responsible for starting Oracle Tuxedo domain processes on Microsoft Windows. By default, domain processes run as the same user ID that the service is running as. In a default installation, the service is configured to log on to Microsoft Windows as the Local System user. Microsoft does not support assigning network privileges to the Local System user for security reasons, but the Local System user otherwise has full administrative access to the local system.
In this configuration, PeopleSoft PeopleTools domain processes also run as the Local System user, which presents several potential issues, including:
-
PeopleSoft PeopleTools domain processes are unable to access network resources.
-
PeopleSoft PeopleTools domain processes run with more privileges than are necessary. A compromised PeopleSoft PeopleTools process will have full access to the local system and could potentially be used to gain unauthorized access to the local system.
-
All PeopleSoft PeopleTools domain processes on the system run as the same user ID.
These problems are not present on UNIX systems where domain processes are always started as the user that runs tmadmin (by way of PSADMIN for PeopleSoft installations) to boot the domain. UNIX systems therefore support multiple domains, each running under different user IDs, with only the desired local privileges, and with no undesirable restrictions to network resources.
For Microsoft Windows platforms, you can use the Oracle Tuxedo TM_CPAU environment variable to achieve behavior similar to UNIX systems. If TM_CPAU is set to YES before tuxipc is started, tuxipc creates an Oracle Tuxedo process that belongs to the user who initiated tmboot. If the Oracle ProcMGR service (tuxipc.exe) is started with the TM_CPAU=YES environment variable set, then domain processes will run as the user ID used to run tmadmin (PSADMIN) to boot the domain.
Using the TM_CPAU environment variable enables a variety of configuration options, including:
-
The Oracle ProcMGR service can be run as the Local System user, but domain processes can be run using a minimally privileged user. This reduces the chance of a compromised PeopleSoft PeopleTools process being used to gain unauthorized access to the system. Note that the option “Allow services to interact with Desktop” should not be selected.
-
The Oracle ProcMGR service can be configured to log on to Microsoft Windows using a minimally privileged user ID and PeopleSoft PeopleTools processes can run as a user with more privileges than the Oracle Tuxedo user ID. For example, the Oracle Tuxedo user ID could have read-only access to PS_CFG_HOME, but the PeopleSoft PeopleTools user could have read-write access. The Oracle Tuxedo user ID does not actually require read access to PS_HOME. When CreateProcessAsUser runs, access to the executable to start is evaluated using the user ID that the process will run as.
-
Domain processes can be identified and managed in Windows Task Manager by a non-administrative user.
See File Formats, Data Descriptions, MIBs, and System Processes Reference, Oracle Tuxedo Reference Topics, https://docs.oracle.com/cd/E35855_01/tuxedo/docs12c/rf5/rf5.html
Setting TM_CPAU Environment Variable
This is a recommended step. Perform this step only if Local System account is used in the task Setting Up the Windows Services for Oracle Tuxedo.
To set the TM_CPAU environment variable:
-
Access the Control Panel, and then select System and Security, System.
-
Select Advanced system settings.
-
Select the Advanced tab.
-
Click Environment Variables.
-
In the System variables area, click New to add a new environment variable.
-
Enter TM_CPAU as the variable name, YES as the value, and click OK three times to close the dialog boxes.
-
Restart your machine.