Creating a User Account
Run the following commands on the node where the corresponding component is installed to create a user account:
- Ubuntu OS
useradd -d /home/hwMindX -u 9000 -m -s /usr/sbin/nologin hwMindX usermod -a -G HwHiAiUser hwMindX
- CentOS OS
useradd -d /home/hwMindX -u 9000 -m -s /sbin/nologin hwMindX usermod -a -G HwHiAiUser hwMindX
- For other OSs:
- HwHiAiUser is the software running user required by the driver or CANN package.
- Run the getent passwd command to check whether the UIDs and GIDs of HwHiAiUser on all physical machines (storage nodes, management nodes, and compute nodes) and containers are the same and are 1000. If the UIDs and GIDs are occupied, services may be unavailable, see User UID or GID Is Occupied.
Component |
Boot User |
Privileged Container Used or Not |
|---|---|---|
NPU Exporter |
|
|
Ascend Device Plugin |
root |
Yes |
NodeD |
||
Volcano |
hwMindX |
N/A |
ClusterD |
||
Resilience Controller |
||
Ascend Operator |
||
Elastic Agent |
User-defined. A non-root user is recommended. |
User-defined. Privileged containers are not recommended. |
TaskD |
||
Container Manager |
root |
N/A |
Parent topic: Preparing for Installation