task-group (User group view)

Function

The task-group command adds a task group to the list of task groups that are associated with a user group.

The undo task-group command deletes a task group from a task group list.

By default, the task group is not in the task group list associated with the user group.

Format

task-group task-group-name

undo task-group task-group-name

Parameters

Parameter Description Value
task-group-name

Indicates the name of a task group.

The value is a string of 1 to 32 characters containing letters, digits, and underscores (_). The value must comply with the Windows naming rule and cannot contain the following characters or symbols: \, /, :, *, | , ?, ", <, >

Views

User group view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
aaa write

Usage Guidelines

Usage Scenario

The task-group command is used to configure the list of task groups that are associated with a user group and then set rights granted to this user group.

Configuration Impact

The task-group command modifies the rights of users in this user group.

Precautions

One user group can be used by multiple local users. However, a local user belongs to only one user group.

After a task group is added to a task group list that is associated with the user group, this task group cannot be deleted.

The right of a user group is a set of rights specified in task groups that are associated with this user group.

Example

# Add the task group named ospf_tg to the user group named admin_ug.
<HUAWEI> system-view
[~HUAWEI] aaa
[~HUAWEI-aaa] task-group ospf_tg
[*HUAWEI-aaa-task-group-ospf_ug] quit
[*HUAWEI-aaa] user-group admin_ug
[*HUAWEI-user-group-admin_ug] task-group ospf_tg
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >