If i try to understand properly, There is one user with sudo permission and you want to install rscd installer.
In the case of Unified Agent Installer
- Create a Automation principal with user/password as <user with sudo permission>/<password of user>
- create remote host authetication with protocol as SSH+ SUDO and automation principal one created above.( use Configuration->Infrastructure management->Remote Host Authetication)
It will help to allow a non root user to use sudo construct to run the installer.
Hope it helps.
Is this method recommended as a best practice by BMC. Should we prefer installating agent via root or the method provided is also acceptable.
Generally if it works in bsa, it works… ☺
Yes agree with Bill,
Installing with root will be good to have. It will reduce configuring sudeors file ... an overload (there may be many ).
Installing w/ root means that you would need to ssh as root which is not typically allowed.
So leaving aside task to configure sudoers file and disabling the prompt for only root user (as unified agent works with sudo access but prompt should ask only the non root user password) there is no technical drawback of using non root account having sudo access to install agent?
not that i'm aware of. the agent install should run as root when it runs. if you get to be root by sudo, su or directly root login should be irrelevent.