configure account privilege

configure account [all | name] privilege [admin | user]

Description

Changes the privileges of an existing user account.

Syntax Description

account Login account.
all Specifies all accounts.
name Specifies a specific user account.
privilege Change the account privilege.
admin Administrative privilege.
user User (non-administrative) privilege.

Default

None.

Usage Guidelines

If an account is changed, any sessions that are currently logged in with that account are cleared, and therefore forced to login again with the new privilege. If the specified account is logged in to a session that cannot be cleared, an error message appears. If the account privilege is not changed by the option selected in the command for the specified acount(s) (account already has that privilege), the request is ignored and any sessions logged in with the account are not cleared.

If you attempt to remove administrative privileges from the sole account having administrative privilege, you receive an error message.

Example

The following example adds administrative privilege to an account called "my_name":

configure account my_name privilege admin

History

This command was first available in ExtremeXOS 22.1.

Platform Availability