Creating a User Account

Run the following commands on the node where the corresponding component is installed to create a user account:

  • Ubuntu
    useradd -d /home/hwMindX -u 9000 -m -s /usr/sbin/nologin hwMindX
    usermod -a -G HwHiAiUser hwMindX
  • CentOS
    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 software package.
Table 1 Component users

Component

Boot User

Privileged Container Used or Not

Ascend Device Plugin

  • Run in binary mode: hwMindX
  • Run in the container: root
  • Run in binary mode: N/A
  • Run in the container: Privileged containers are required. You are advised to run containers in binary mode.

NPU-Exporter

HCCL-Controller

hwMindX

No

Volcano

NodeD

Resilience-Controller

Elastic-Agent

User-defined. A non-root user is recommended.

User-defined. Privileged containers are not recommended.