Configuring agents as a non-root user
If you want to configure your agent as a non-root user, create a common group on the system and make each user a member of this group.
Before you begin
If you installed your agent as a root or non-root user and you want to configure the agent as the same user, no special action is required.
If you installed your agent as a selected user and want to configure the agent as a different user, create a common group on the system. Make all agent management users members of this common group. Transfer ownership of all agent files and directories to this group.
Remember: For the IBM Integration Bus agent, if IBM Integration Bus installation is a single-user deployment, use the same user ID as the user who installed IBM Integration Bus to configure the agent. Before you configure the agent, complete the following steps for this user ID.
- Install your monitoring agents on Linux or AIX® as described in Installing agents on Linux systems and Installing agents on UNIX systems.
Run the following command from the
install_dir/bindirectory with the group name of the non-root user to secure the files and set the file group ownership to the files.
./secure.sh -g group_name
./secure.sh -g mqadmin1
Configure your monitoring agents on Linux or AIX as necessary, see Configuring ICAM Agents.
- To update the system startup scripts, run the following script with root user or sudo user access:
The agents can be configured by the non-root user, which is not the same user that installed and configured the agents. You can use the same user ID for agent installation and upgrades.
For more information about the ./secure.sh script, see Securing the agent installation files.