Administration

Security monitoring and administration is done from the node Security tab. The following commands are accessed from the Security tab.

Figure 5.3, “Security information” shows the security information displayed from the Security tab.

Security information

Figure 5.3. Security information


This screen consists of these sections:

The Principals section shows this information for each principal defined in the node's Local authentication source:

This information can also be displayed using:

administrator servicename=A display security type=principals

The Authentication Sources section shows this information for each configured authentication source:

This information can also be displayed using:

administrator servicename=A display security type=authenticationsources

The Trusted Hosts section shows this information for each configured trusted host:

This information can also be displayed using:

administrator servicename=A display security type=hosts

Add principal

Principals are added to a the node's Local authentication source using the Add Principal dialog shown in Figure 5.4, “Add principal” accessed from the Add... button.

Add principal

Figure 5.4. Add principal


The fields in the Add Principal dialog are:

  • User Name - A unique user name for this principal.

  • Password - Initial password for this principal.

  • Confirm Password - Password confirmation.

  • Roles - A space separated list of roles to assign to this principal.

  • Password Expiration (Days) - Password expiration in days. A value of zero indicates that the password does not expire.

  • Remote Access - Control hosts from which this principal can access this node. Trusted Host Only indicates that this principal can only access this node from a trusted host. Any Host indicates that this principal can access this node from any host.

  • Password Required - Control when this principal must provide a password to access this node. Always indicates that this principal must always provide a password. They cannot use the trusted host facility. Untrusted Host Only indicates that this principal is only required to provide a password from an untrusted host.

Clicking on the Submit button will add the new principal to the node after validating that the password values match.

Principals can also be added using:

administrator servicename=A add security \
   username=admin roles=switchadmin passwordexpirationdays=10 \
   trustedhostuser=false passwordrequired=true

Audit security

When a node starts a security audit is automatically run as part of node startup. It can also be run after a node is started to validate any changes in security configuration, or application features added at runtime.

Security audits are done using the Security Audit dialog shown in Figure 5.5, “Audit security” accessed from the Audit... button.

Audit security

Figure 5.5. Audit security


The fields in the Security Audit dialog are:

  • Administrative Target - A drop-down list of all administrative targets installed on the node. The default All Targets value will audit all installed administrative targets, or a specific target to audit can be selected from the drop-down list.

Clicking on the Submit button will perform the audit.

A security audit can also be performed using:

administrator servicename=A audit security

Export user configuration

Configuration for all principals defined on a node can be exported using the Export Users dialog show in Figure 5.6, “Export user configuration”. This dialog is accessed from the Export... button. Exported user configuration can be reloaded and activated on a node using the standard node configuration mechanisms described in the section called “Managing configuration”.

Export user configuration

Figure 5.6. Export user configuration


The fields in the Export Users dialog are:

  • Name - Configuration name used for export.

  • Version - Configuration version used for export.

  • Users - Optional space separated list of users to export. If specified, only the users in this list are exported.

When the Submit button is clicked, another window is displayed which contains the user configuration (see Figure 5.7, “Exported user configuration”). Notice that the credential information is encoded as an opaque value in the opaqueCredential field - no clear text passwords are displayed.

Exported user configuration

Figure 5.7. Exported user configuration


Security configuration can also be exported using this command:

administrator servicename=A export security name=users version=1.0

Reset password

Passwords are reset using the Reset Password dialog shown in Figure 5.8, “Reset password” accessed from the Reset... button.

Reset password

Figure 5.8. Reset password


The fields in the Reset Password dialog are:

  • User Name - User name being reset. This field is read-only. It is set to the user selected in the Principals table.

  • Password - New password, or empty if Next Login is set in Reset.

  • Confirm Password - Confirm password.

  • Reset - Next Login indicates that the password is set using the password provided by the user's next authentication. If Next Login is checked, no password can be specified in this dialog. Immediately indicates that the password is reset immediately. The new password must be specified in this dialog.

When the Submit button is clicked the password has been reset.

Passwords can also be reset using this command:

administrator reset security username=admin

Remove principal

Principals are removed from a node by selecting a principal in the Principals table as shown in Figure 5.9, “Remove principal” and clicking on the Remove button.

Remove principal

Figure 5.9. Remove principal


When the Submit button is clicked the principal has been removed.

Principals can also be removed using this command:

administrator remove security username=admin

Update principal

Principals are updated using the Update Principal dialog shown in Figure 5.10, “Update principal” accessed from the Update... button.

Update principal

Figure 5.10. Update principal


The fields in the Update Principal dialog are:

  • User Name - User name being updated. This field is read-only. It is set to the user selected in the Principals table.

  • Roles - A space separated list of roles for this principal.

  • Password Expiration (Days) - Password expiration in days. A value of zero indicates that the password does not expire.

  • Remote Access - Control hosts from which this principal can access this node. Trusted Host Only indicates that this principal can only access this node from a trusted host. Any Host indicates that this principal can access this node from any host.

  • Password Required - Control when this principal must provide a password to access this node. Always indicates that this principal must always provide a password. They cannot use the trusted host facility. Untrusted Host Only indicates that this principal is only required to provide a password from an untrusted host.

The fields contain the current values for the principal when the dialog is initially displayed. When the Submit button is clicked any changed values are updated for the principal.

Principals can also be updated using this command:

administrator servicename=A update security \
    username=admin roles=switchadmin \
    passwordexpirationdays=10 trustedhostuser=false passwordrequired=true