From 172df0df019a09389c75d78e9f0d4e79b1fa2965 Mon Sep 17 00:00:00 2001 From: htpeng Date: Fri, 4 Jul 2025 10:00:46 +0000 Subject: [PATCH] # chown root.root /etc/bashrc chown: warning: '.' should be ':': "root.root" Signed-off-by: htpeng --- .../security/secharden/authentication_and_authorization.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/zh/server/security/secharden/authentication_and_authorization.md b/docs/zh/server/security/secharden/authentication_and_authorization.md index 607d8f8..0eba659 100644 --- a/docs/zh/server/security/secharden/authentication_and_authorization.md +++ b/docs/zh/server/security/secharden/authentication_and_authorization.md @@ -76,11 +76,11 @@ umask值用于为用户新创建的文件和目录设置缺省权限。如果uma 2. 设置/etc/bashrc文件和/etc/profile.d/目录下所有文件的属主为root,群组为root。 ```shell - chown root.root $FILE + chown root:root $FILE ``` >![](./public_sys-resources/icon-note.gif) **说明:** - >_$FILE_ 为具体的文件名,例如:chown root.root /etc/bashrc + >_$FILE_ 为具体的文件名,例如:chown root:root /etc/bashrc ## 设置GRUB2加密口令 -- Gitee