arch-maride-flavour/steps/60-user.step

15 lines
234 B
Plaintext
Raw Normal View History

2017-08-06 15:38:48 +00:00
#!/bin/sh
echo -n "~> Do you want to create an user account? (Y/n) "
read answer
if [ "$answer" == "n" ]; then
exit 0
else
echo -n " Name of your new user?"
read name
arch-chroot /mnt useradd -m $name
passwd $name
exit 0
fi