Enable Run-As Security in the 3DOrchestrate Distribution Server
-
Edit the
<server_install_dir>/config/SMAExeServer-xxxx.properties
file in the 3DOrchestrate Distribution Server installation to set the following properties:
fiper.security.runas.enabled=
fiper.security.runas.domain=
-
Set
fiper.security.runas.enabled to true.
Uncomment and activate the line by deleting the leading #
character.
-
If you want to authenticate users with a Windows Active Directory server, set the
fiper.security.runas.domain
property to the name of your Windows domain:
fiper.security.runas.domain=windows-domain
Uncomment and activate the line by deleting the leading #
character.
If run-as security is enabled, you can set this property to a Windows security domain name that the 3DOrchestrate Distribution Server uses to look up users and passwords. Unless a particular 3DOrchestrate Station is explicitly configured, all the Windows-based stations use this domain name. This setting is ignored on Linux.
-
If you have installed the 3DOrchestrate Distribution Server on Linux and you are using LSF DRM mode or Open DRM, follow these additional
steps:
-
Log in to the 3DOrchestrate Distribution Server computer as
root.
-
Open a terminal/shell, and change the directory (
cd) to the
following directory:
<server_install_dir>/config/
In this directory, the deployment utility creates the file
SMAExePlaunch. Note:
The
fiper.security.runas.impl specifies the type of
authentication. The values are PLAUNCH, SU or SUDO.
Default is PLAUNCH
-
Execute the following commands:
chown root SMAExePlaunch
chmod 4510 SMAExePlaunch
Setting permissions to 4510 on the SMAExePlaunch file
equates to set-user-id, owner read/execute, group execute only, and no access for
others.
-
Locate the following file:
/etc/pam.d/login
Make a copy of this file and rename it fiper. Be sure that
the contents of this copy are identical to the original file.
-
Stop and restart the 3DOrchestrate Distribution Server application in the application server.
What's Next
By default, each 3DOrchestrate Station follows the run-as configuration of the 3DOrchestrate Distribution Server to which it is connected (as determined by the
fiper.security.runas.enabled property in the
SMAExeServer.properties file). You can use the
Run-As property of a particular station to force it to run with
run-as disabled even when the 3DOrchestrate Distribution Server has run-as enabled.
Configure Run-As Security on a Windows Station
By default, a station follows the run-as configuration of the 3DOrchestrate Distribution Server to which it is connected, but you can override that setting in the
Run-As property of each station.
To configure a Windows-based station to use the run-as security feature, follow the steps below.
-
Do one of the following:
- If you plan to use the same security domain as the 3DOrchestrate Distribution Server, skip to step 3.
- If you plan to use a security domain that is different from the 3DOrchestrate Distribution Server, continue with step 2.
-
If you want to authenticate users with a Windows Active Directory server, edit the Domain property of the
station to specify the name of the Windows domain you want to use.
The 3DOrchestrate Station now uses this domain to authenticate users' credentials instead of the domain
specified in the SMAExeServer-xxxx.properties
file of the 3DOrchestrate Distribution Server.
-
Grant Read, Write,
Execute, Create folders, and
Create files access (or full access) on the 3DOrchestrate Station temporary directory to all users that might submit jobs. This directory is specified
in the Temp Directory property of the station configuration (or
the
fiper.station.tempdir property in the properties file).
The steps necessary for granting this access to the station temporary directory
differ slightly across Windows operating systems and might require special permissions.
-
Locate the system user rights as described below:
-
Windows Server 2016: Navigate to ; and from the Local Security Policy dialog
box, access the User Rights Assignment settings under the
Local Policies option.
-
Windows 11: Open the Start menu, search for
secpol.msc, and select Local Security
Policy. From the Local Security Policy dialog
box, access the User Rights Assignment settings under the
Local Policies option.
-
To edit the User Account Control (UAC)
-
From the Windows Start menu, select Control Panel.
-
From the Control Panel, select User
Accounts, and select Change User Account
Control settings.
-
Move the slider
bar to Never notify.
-
Click OK.
-
Close the Control Panel.
-
Add the user account that will run the station to the local Administrators group and grant that user the privilege Replace a process level
token in the Local Security Policy dialog
box.
-
Log out and log back on to the station computer. This causes the operating system to
recognize the privilege changes.
-
Add the following properties to the SMAExeStation.properties
file. You can vary the values according to the load.
fiper.station.substation.starttime=300000
fiper.substation.launchtimeout=300000
- f
iper.substation.keepalive.interval.ms=120000
- f
iper.security.substation.cache.size=<twice the number of
expected users> + 5
-
Save and close the SMAExeStation.properties file.
Configure Run-As Security on a Linux Station (Built-in DRM Mode Only)
By default, a station follows the run-as configuration of the 3DOrchestrate Distribution Server to which it is connected.
These configurations are required only if the DRM mode is built-in (the default). If the
DRM mode is LSF or Open DRM, you must make similar configurations on the Linux-based 3DOrchestrate Distribution Server, as described above in Enable Run-As Security in the 3DOrchestrate Distribution Server.
To configure a Linux-based station to use the run-as security feature, you must do the following:
- Change permissions on the SMAExePlaunch file.
- Specify a temporary directory in the station properties.
- Add a new file to the system's /etc directory.
-
If you want to
authenticate users with a Windows Active Directory server, edit the Domain property of the
station to specify the Windows name of the Windows domain that you want to use.
The 3DOrchestrate Station now uses this domain to authenticate users' credentials instead of the domain
specified in the SMAExeServer-xxxx.properties
file of the 3DOrchestrate Distribution Server.
-
Log in to the 3DOrchestrate Station computer as
root.
-
Open a terminal/shell, and change the directory (
cd) to the
following:
<station_install_dir>/config/
-
Execute the following commands:
chown root SMAExePlaunch
chmod 4510 SMAExePlaunch
Setting permissions to 4510 on the SMAExePlaunch file equates to
set-user-id, owner read/execute, group execute only, and no access for others. This
requires that all users who will start run-as stations must be in the same group,
which is recommended for production environments.
-
Specify a temporary directory in the Temp Directory property
of the station configuration (or the
fiper.station.tempdir property in
the properties file).
The temporary directory must be world-writable; for example, something similar to
/var/tmp/ds-tmp-dir/. Set the permissions
on the temporary directory so that it is fully accessible by any user with the
following
command: chmod 1777 <temp-directory> For
example:chmod 1777 /var/tmp/thisdir
This mode sets the sticky bit, which allows contents (such as files and
subdirectories) to be removed only by the owner (or root).
-
Locate the following file:
/etc/pam.d/login
Make a copy of this file and rename it fiper. Be sure that the
contents of this copy are identical to the original file.
-
Start (or restart) the 3DOrchestrate Station program.
|