Change passwd in chroot, not on ISO
This commit is contained in:
parent
3449b6e1a7
commit
b184028c2b
@ -9,6 +9,6 @@ else
|
|||||||
echo -n " Name of your new user? "
|
echo -n " Name of your new user? "
|
||||||
read name
|
read name
|
||||||
arch-chroot /mnt useradd -m $name
|
arch-chroot /mnt useradd -m $name
|
||||||
passwd $name
|
arch-chroot /mnt passwd $name
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user