domain-name-delimiter

Function

The domain-name-delimiter command configures the domain name delimiter to separate the domain name and user name.

The undo domain-name-delimiter command restores the default setting.

By default, the domain name delimiter is @.

Format

domain-name-delimiter delimiter

undo domain-name-delimiter

Parameters

Parameter Description Value
delimiter

Specifies the delimiter. For example, if the delimiter is configured as @, the user named user1 in the domain named dom1 is identified as user1@dom1.

The value can be \, /, :, <, >, |, @, ', or %.

Views

AAA view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
aaa write

Usage Guidelines

Usage Scenario

The domain-name-delimiter configures the domain name delimiter to separate the domain name and user name. By default, the domain name delimiter is @. To configure another delimiter, run the domain-name-delimiter command.If the user name of a local user contains delimiters, the user name changes synchronously after the delimiter is changed. For example, if a local user named Huawei123@123 exists, after the delimiter is changed from @ to |, the user name synchronously changes to Huawei123|123.

Example

# Configure the domain name delimiter as /.
<HUAWEI> system-view
[~HUAWEI] aaa
[~HUAWEI-aaa] domain-name-delimiter /
Warning: After this operation, users that have configured with domain names will fail to log in. Continue? [Y/N]: Y
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >