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