Installing as a non-root user
Grant permissions to a non-root user to install HCL Connections
Ensure that you complete all the prerequisite tasks that are relevant for your environment. For more information, see the
Before installing topic.
This task applies to Linux™ operating systems only.
By default, only root users have the necessary permissions to install an HCL Connections deployment. On Linux operating systems, you can permit non-root users to install the product by changing their permissions to access certain data directories.
On Windows™ operating systems, the user must be a member of the Administrators group.
Note
The non-root user must be the same user who installed IBM® WebSphere® Application Server.
To grant the necessary permissions to a non-root user, complete the following steps:
-
Unless it already exists, create the non-root user account that you want to use to install HCL Connections.
-
If it does not already exist, create a home directory for the user.
-
Edit the
install.inifile:-
Open the install.ini file for editing from the following location:
- Linux:
HCL_Connections_install/IM/linux/install.ini - Linux on System z®:
HCL_Connections_install/IM/zlinux/install.ini- In the second line of the file, change
admintononadmin.
- In the second line of the file, change
- Linux:
-
Save and close the file.
-
-
Open a command prompt and grant the appropriate permissions to the user by entering the commands shown in the following table:
- Linux:
Use either the
chmodorchowncommands, depending on your security environment. Use thechowncommands to grant permissions to a user and group, but ensure that the group includes the user account that installed WebSphere Application Server.Directory Permissions chmod/chgrpCommandschownCommandapp_server_rootRWX chgrp -R non-root_group app_server_rootchmod -R g+rwx app_server_root
Note:non-root_groupmust contain the non-root user account.chown -R non-root_ID:group app_server_rootHCL_Connections_set-up_directoryRWX chgrp -R non-root_group HCL_Connections_set-up_dirchmod -R g+rwx HCL_Connections_set-up_dirchown -R non-root_ID:group HCL_Connections_set-up_dirconnections_rootRWX chgrp -R non-root_group connections_rootchmod -R g+rwx connections_rootchown -R non-root_ID:group connections_rootIM_rootRWX chgrp -R non-root_group IM_rootchmod -R g+rwx IM_rootchown -R non-root_ID:group IM_rootshared_resources_rootRWX chgrp -R non-root_group shared_resources_rootchmod -R g+rwx shared_resources_rootchown -R non-root_ID:group shared_resources_root/var/ibm/InstallationManagerRWX chmod -R ugo+rwx /var/ibm/InstallationManager
Only grant these permissions ifrootoriginally installed IBM Installation Manager.chown -R non-root_ID:group /var/ibm/InstallationManager -
Install HCL Connections using either the wizard, the console, or a silent installation method.
Example
Grant permissions to a non-root user who wants to install an HCL Connections deployment on Linux.
Assumptions:
- The
app_server_rootdirectory is/opt/IBM/Websphere/Appserver. - The
HCL_Connections_set-up_directorydirectory is/opt/ConnectionsSetup. - The
connections_root,IM_root, andshared_resources_rootdirectories are subdirectories of the/opt/ConnectionsInstallationdirectory. - The non-root user account is a member of the
ConnectionsInstallersgroup.
Procedure:
-
Create a non-root user account called
ConnectionsInstaller. -
Create a home directory for the new user account.
-
Add the new user account to the
ConnectionsInstallersgroup. -
Open a command prompt and enter the following commands:
chgrp -R ConnectionsInstallers /opt/IBM/Websphere/Appserver
chmod -R g+rwx /opt/IBM/Websphere/Appserver
chown -R ConnectionInstaller:ConnectionsInstallers /opt/IBM/Websphere/Appserver
chgrp -R ConnectionsInstallers /opt/ConnectionsSetup
chmod -R g+rwx /opt/ConnectionsSetup
chown -R ConnectionInstaller:ConnectionsInstallers /opt/ConnectionsSetup
chgrp -R ConnectionsInstallers /opt/ConnectionsInstallation
chmod -R g+rwx /opt/ConnectionsInstallation
chown -R ConnectionInstaller:ConnectionsInstallers /opt/ConnectionsInstallation
Parent topic: Installing HCL Connections