基本完成第一版

This commit is contained in:
2023-06-28 16:22:31 +08:00
parent b853640a03
commit 779e303147
32 changed files with 503 additions and 27 deletions

View File

@@ -9,5 +9,5 @@ if [[ $firstPWD != $secondPWD ]]; then
zenity --error --text=密码不相同,无法继续 --no-wrap
exit 1
fi
echo -e "$firstPWD\n$firstPWD\n\n\n\n\n\nY\n" | ./run-root.sh adduser `whoami`
gx-env-run-root bash -c "echo $USER >> /etc/sudo"
echo -e "$firstPWD\n$firstPWD\n\n\n\n\n\nY\n" | gx-env-run-root adduser $USER
#gx-env-run-root bash -c "echo $USER >> /etc/sudo"