From eb496e7762e1f764b832c14aaabd90bb2ab74a73 Mon Sep 17 00:00:00 2001 From: lizw <1183409807@qq.com> Date: Sun, 30 Oct 2022 17:19:45 +0800 Subject: [PATCH] 07env-install-centos.sh --- 00base/07env-install-centos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/00base/07env-install-centos.sh b/00base/07env-install-centos.sh index b497a56..810b697 100644 --- a/00base/07env-install-centos.sh +++ b/00base/07env-install-centos.sh @@ -240,7 +240,7 @@ function init:add_user() { if [ \`grep -c '$add_sudoers' '/etc/sudoers'\` == '0' ];then # 新增修改权限 chmod -v u+w /etc/sudoers - echo -e \"$add_sudoers\" >> /etc/sudoers + echo -e '$add_sudoers' >> /etc/sudoers # 收回修改权限 chmod -v u-w /etc/sudoers fi