Setting up non-root usersAdded by IBM on July 25, 2013 | Version 1 (Original)
|In Linux™, AIX®, and Solaris, you can run Translator under a user that does not have root privileges.
You must be root to set up Translator for running under non-root users.
In this procedure, the following assumptions are made:
- The user name of the non-root user is user1.
- Webform Server is installed in the default location. The default location for Linux is /opt/ibm/FormsServer/4.0, and the default location for AIX and Solaris is /opt/IBM/FormsServer/4.0.
- WebSphere® Application Server is installed in the default location. On Linux the default location is /opt/ibm/WebSphere/AppServer, on AIX the default location is /usr/IBM/WebSphere/AppServer, and on Solaris the default location is /opt/IBM/WebSphere/AppServer.
To set up a non-root user with user name user1
Use the chown command to change the owner of the Webform Server directory and its sub-directories and files to user1.
- Stop the TranslatorServer server.
You can stop the server from Deployment Manager or you can use the stopServer command of WebSphere Application Server.
- Create a profile in WebSphere Application Server for user1.
If you are using Derby as your database, change the owner of the Access Control database to user1.
chown -R user1 /opt/IBM/FormsServer/4.0/WebformServer
, the command would be:
chown -R user1 /opt/ibm/FormsServer/4.0/WebformServer
If you are using DB2® or Oracle as your database, make sure the database JAR files can be read by user1.
Make sure that user1 has read permissions on the following directories and files, if they exist on your system:
chown -R user1 /opt/IBM/WebSphere/AppServer/Derby/WS_ACDB
, the command would be:
chown -R user1 /opt/ibm/WebSphere/AppServer/Derby/WS_ACDB
The default name of the Access Control database is WS_ACDB. It might be different on your system.
Make sure that user1 has write permissions to the /tmp directory.
In the /tmp directory, delete the translator-fonts directory and the translator-markers directory, if they exist. They will be recreated with the proper permissions when Translator restarts.
Modify the startup script to start WebSphere Application Server as user1.
- /etc/PureEdge/API 8.0/prefs/prefs.config
- /etc/PureEdge/WebformServer 8.0/prefs/prefs.config
Parent topic: After installing Webform Server
Websphere Application Server startServer command
Websphere Application Server stopServer command