doc-exports/docs/bms/image-creation-guide/en-us_topic_0000001194198216.html
guoyanyan fe8c0cf45c BMS Image Creation Guide 1109
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: guoyanyan <guoyanyan3@huawei.com>
Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
2022-11-16 08:53:42 +00:00

2.1 KiB

(Optional) Deleting the Local User

Scenario

A local user is created during the VM creation. If you do not need it any longer, delete it.

Procedure

Run the userdel -rf xxx command.

xxx indicates the name of the local user. If no folder of this user exists in the /home directory, the user is deleted successfully.

If the local user fails to be deleted, restart the VM, log in to the VM as user root, and run the userdel -rf xxx command again.