Add changes from 'bootable'
This commit is contained in:
commit
93273b4f7f
14
steps/60-user.step
Executable file
14
steps/60-user.step
Executable file
@ -0,0 +1,14 @@
|
||||
#!/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
|
||||
arch-chroot /mnt passwd $name
|
||||
exit 0
|
||||
fi
|
Loading…
Reference in New Issue
Block a user