Non-root sudoers configuration for a Low Scale Data Aggregator Data Collector

book

Article ID: 205580

calendar_today

Updated On:

Products

DX NetOps CA Performance Management - Usage and Administration

Issue/Introduction

How should the sudoers file be configured for a Low Scale shared Data Aggregator Data Collector installation owned and run by a non-root user?

Non-root sudo user configuration for Low Scale shared Data Aggregator Data Collector installations.

Environment

All supported DX NetOps Performance Management releases

Resolution

Two options exist to resolve this.

  1. Combine the sudoers configuration from normal non-root user sudo user config for standard Data Aggregator and Data Collector installs.
  2. Enter the two different command alias entries to the sudoers file per the following documentation.

For option 1 this is an example for what to add to the sudoers file.

The paths shown are default paths. Change as needed.

Replace <userName> with the target non-root sudo user user name.

Cmnd_Alias CA_DATAAGG_DATACOLL = /tmp/installDA.bin,/sbin/service dadaemon *,/tmp/install.bin,/sbin/service dcmd *,/opt/IMDataAggregator/Uninstall/Uninstall,/opt/IMDataCollector/Uninstall/Uninstall,/opt/IMDataAggregator/RemoteEngineer/re.sh,/opt/IMDataCollector/RemoteEngineer/re.sh,/opt/IMDataCollector/scripts/dcmd
## Allows the <userName> user to manage the Data Aggregator and Data Collector services
sudouser ALL = CA_DATAAGG_DATACOLL

Additional Information

Install a Low-Scale System install documentation