Installation and Configuration Guide > Installation and Configuration Guide > B. Configuring COM > Set the COM Server Executable File Ownership and Permissions to Run as a Specific User
Was this helpful?
Set the COM Server Executable File Ownership and Permissions to Run as a Specific User
You can set the COM server executable file ownership and permissions to ensure that it always runs as a specific user by performing the following steps.
1. Set the owner of the COM server executable file to the specific user that is to own the process, no matter who launches the process.
2. Set the COM server's executable file permission to Set user ID on execution (also known as sticky bit).
Combined with the previous step, this step helps to ensure that the running process is always owned by the intended user.
To set the file permissions manually
Enter the following command at the command prompt:
chmod u+s filename
3. Use dcomcnfg to set the COM server identity to this user and provide the user name.
Note:  The UNIX/Linux version of dcomcnfg does not require the user password; the previous steps ensure the user's identity.
Last modified date: 12/20/2023