我要评分
获取效率
正确性
完整性
易理解

Configuring the Current User

Function

Configures the operator of the Kunpeng DevKit terminal tool.

Syntax

1
/opt/DevKit/tools/devkit setuser -u <username>

/opt/DevKit/tools/ is the directory for storing the tool. Replace it with the actual directory.

Parameter Description

Table 1 Parameter description

Command

Parameter

Description

-u

username

Sets the operator of the terminal tool.

NOTE:

The administrator account devadmin cannot be set as a terminal tool operator.

Example

The following demonstrates how to set the current operator of the terminal tool to testaccount. Go to the storage path of the DevKit terminal tool and run the following command:

1
./devkit setuser -u testaccount

The following information is displayed. Input the password of the common user in the interactive prompts.

1
2
Please enter the user's password:
Set user[testaccount] successfully