修改bug家目录始终是skf

main
AhFei 2023-06-16 23:20:17 +08:00
parent 201c1a0eee
commit 5cf1105a68
1 changed files with 1 additions and 1 deletions

View File

@ -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}