This commit is contained in:
simono41 2018-04-17 21:32:40 +02:00
parent fae240cf5f
commit f4ce81fe71

View file

@ -1111,10 +1111,12 @@ fi
# benutzerwechsel # benutzerwechsel
if [ "${name}" != "noinstall" ]; then if [ "${name}" != "noinstall" ]; then
#usermod -l "${name}" user1 arch-chroot ${mountpoint} <<EOT
#usermod -d /home/"${name}" -m "${name}" #usermod -l "${name}" user1
chfn -f "${name}" user1 #usermod -d /home/"${name}" -m "${name}"
passwd user1 chfn -f "${name}" user1
passwd user1
EOT
fi fi
if [ "${update}" != "n" ] && [ "${offline}" == "n" ] || [ "${installationfehler}" == "online" ]; then if [ "${update}" != "n" ] && [ "${offline}" == "n" ] || [ "${installationfehler}" == "online" ]; then