Configuring the Current User
Function
Configures the operator of the Kunpeng DevKit terminal tool.
Syntax
/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
Argument |
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:
./devkit setuser -u testaccount
The following information is displayed. Input the password of the common user in the interactive prompts.
Please enter the user's password: Set user[testaccount] successfully
Parent topic: User Management