---
title: 防火墙配置
description: "操作系统安装后，若配置普通用户，可以通过在“/etc/login.defs”文件中新增ALWAYS_SET_PATH字段并设置为yes，防止越权操作。"
url: https://www.hiascend.com/document/detail/zh/mindcluster/latest/toolbox/toolboxug/toolboxug_0118.html
sourcePath: /source/zh/mindcluster/2610/toolbox/toolboxug/toolboxug_0118.html
indexId: c1d395ac29648af862839763277468e191676c1eb7acffdf48836478556dd65765
---
# 防火墙配置

操作系统安装后，若配置普通用户，可以通过在“/etc/login.defs”文件中新增ALWAYS_SET_PATH字段并设置为yes，防止越权操作。
