Currently, "Add Users as Super Users" is being allowed through CLI scripts. There is a build target "add_super_user" in the sample build file "user_build.xml" that comes with the AMX installation.
However, the AMX product documentation has no explicit mention of how to "Add Groups as Super Users(Groups)".
How can we add Groups as Super Users (Groups) using CLI in ActiveMatrix Service Grid?
Environment
All Supported OS Platforms
Resolution
We can modify the existing sample "user_build.xml" file and "user_data.xml" file as below. Attached are the scripts for reference.
ant -f user_build.xml add_super_group
========================= user_build.xml: <!-- user can create a new "add_super_group" build target -->
<target name="add_super_group" description="set users to be super user"> <AMXAdminTask remote="true" propsFile="${instanceProperties}" action="add" dataFile="${dataFile}" objectSelector="ListOfSuperGroup" overwrite="true" merge="true" createIfNotExists="true" force="true" failOnError="false"/> </target>