From 5cf1105a683413b7e6a0f78f4710c1aaf22872d2 Mon Sep 17 00:00:00 2001 From: AhFei Date: Fri, 16 Jun 2023 23:20:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug=E5=AE=B6=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E5=A7=8B=E7=BB=88=E6=98=AFskf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- initial.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initial.sh b/initial.sh index 60b6cea..e2aa4a5 100644 --- a/initial.sh +++ b/initial.sh @@ -31,7 +31,7 @@ echo "step 1: install has finished" # step 2: localize -useradd -d /home/skf -m ${nml_user_name} +useradd -d /home/${nml_user_home} -m ${nml_user_name} usermod -s /bin/bash ${nml_user_name} usermod -aG sudo ${nml_user_name} # 有些发行版 RN 的就没有sudo adm usermod -aG adm ${nml_user_name}