Restricting administrative access

It is important to restrict administrative actions to those users who require that level of access. This is part of what is referred to as the Principle of Least Privilege: actors such as users and programs should be granted only the privileges necessary to perform their functions.

This is not only a matter of trust; it also protects the organization if a non-administrative account is compromised. Many successful attacks involve gaining access to an ordinary account and then elevating and pivoting to gain additional access.

Administrative functions which should be controlled include:

Restricting access to ESMAC

In addition to setting security controls for ESMAC, it is necessary to disable anonymous access to ESMAC, as mentioned in Removing or changing default credentials. In some older releases of Enterprise Server, this could be performed by assigning a password to the mfuser account. In current releases of Enterprise Server you must take additional steps.

To disable anonymous access to ESMAC:

  1. Assign a password to the mfuser user, or to whichever account is set as the default ESMAC user using the ES_USR_DFLT_ESMAC environment variable.
  2. Set the environment variable ES_ESM_DISABLE_DFLTUSER_ESMAC. See Configuring the Default ESMAC User in your product Help for more information. In addition or optionally, you can set the environment variable ES_DISABLE_DFLTUSR_SIGNON. See Security and Auditing Environment Variables in your product Help for more information.
    Note: There is a difference in the spelling of DFLTUSER and DFLTUSR between these two variables.
    These variables can be set in the global environment or in the Configuration Information field, under a [ES-Environment] configuration section for the enterprise server region. For example:
    [ES-Environment]
    # Prevent anonymous access to ESMAC
    ES_DISABLE_DFLTUSR_SIGNON=Y
    ES_ESM_DISABLE_DFLTUSER_ESMAC=Y

    The function of these two settings is subtly different. For most purposes they have the same effect, but ES_ESM_DISABLE_DFLTUSER_ESMAC will also prevent signing on to ESMAC using the mfuser account, even with a password. It will also disable converting a blank username to "mfuser", and the use of the Default button on the ESMAC sign-on page. For maximum security, Micro Focus recommends setting both of these variables.