Configuring a regular group as the Control Center browser interface access group

Use this procedure to change the default browser interface access group of Control Center from wheel to a non-system group.
The following Control Center variables are used in this procedure:
SERVICED_ADMIN_GROUP
Default: wheel
The name of the Linux group on the serviced master host whose members are authorized to use the serviced browser interface. You may replace the default group with a group that does not have superuser privileges.
SERVICED_ALLOW_ROOT_LOGIN
Default: 1 (true)
Determines whether the root user account on the serviced master host may be used to gain access to the serviced browser interface.
  1. Log in to the host as root, or as a user with superuser privileges.
  2. Create a variable for the group to designate as the administrative group.
    In this example, the group is ccuser. You may choose a different group, or choose the serviced group. (Choosing the serviced group allows all browser interface users to use the CLI.)
    myGROUP=ccuser
  3. Create a new group, if necessary.
    groupadd $GROUP
  4. Add one or more existing users to the group.

    Replace User with the name of a login account on the host:

    usermod -aG $myGROUP User
    Repeat the preceding command for each user to add.
  5. Specify the new administrative group in the serviced configuration file.
    1. Open /etc/default/serviced in a text editor.
    2. Locate the line for the SERVICED_ADMIN_GROUP variable, and then make a copy of the line, immediately below the original.
    3. Remove the number sign character (#) from the beginning of the line.
    4. Change the value from wheel to the name of the group you chose earlier.
    5. Save the file, and then close the editor.
  6. Optional: Prevent the root user from gaining access to the Control Center browser interface, if desired.
    1. Open /etc/default/serviced in a text editor.
    2. Locate the line for the SERVICED_ALLOW_ROOT_LOGIN variable, and then make a copy of the line, immediately below the original.
    3. Remove the number sign character (#) from the beginning of the line.
    4. Change the value from 1 to 0.
    5. Save the file, and then close the editor.