/su
Direct the Uniface Router to start the Uniface Server in the environment of the user.
/su
Description
The /su switch directs the Uniface Router to set the environment for the Uniface Server at start-up to that of the logon user.
Use the /su switch in the following places:
- In the path declaration for a UST in the [SERVERS] section of the Uniface Router's assignment file urouter.asn
- In the path declaration of the client’s assignment file
Note: On Microsoft Windows, when you want to call out to COM, SOAP, or web services from a Uniface Server, you should use the /su switch for the Uniface Server's UST in the Uniface Router’s assignment file to prevent problems with permissions.
The logon behavior is different on Windows, Unix
and Linux.
Windows
For Microsoft Windows platforms, the /su switch causes the Uniface Server to start in the environment of the user. If this environment is not present, Windows creates one before using it. Without the /su switch, the Uniface Server uses the environment of the Uniface Router.
Unix
For Unix, the Uniface Router starts the Uniface Server using the /bin/su command, performing a full user logon using .profile. Without the /su switch, the Uniface Server gets the user and group IDs of the user, but the environment of the Uniface Router. In those situations where the /bin/su command is not allowed (for example, in security situations), use the -nosu command line switch.