---
title: 禁止使用root账户进行远程接入系统
description: "说明：root是Linux系统中的超级特权用户，具有所有Linux系统资源的访问权限。如果允许直接使用root账号登录Linux系统对系统进行操作，会带来很多潜在的安全风险。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/ascendtb/ascendtb_0017.html
sourcePath: /source/zh/canncommercial/900/API/ascendtb/ascendtb_0017.html
indexId: 99a23301bdfca9faf863d84059e73191b6722176c367762d32c1596167bc80a461
---
# 禁止使用root账户进行远程接入系统

说明：root是Linux系统中的超级特权用户，具有所有Linux系统资源的访问权限。如果允许直接使用root账号登录Linux系统对系统进行操作，会带来很多潜在的安全风险。

实施指导：在“/etc/ssh/sshd_config”文件中将“PermitRootLogin”参数设置为“no”。
