summaryrefslogtreecommitdiff
path: root/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/es/userAccount.sh
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2018-05-16 21:08:49 -0400
committerDavid P <megver83@parabola.nu>2018-05-16 21:27:46 -0400
commit765756ae126d57735c22d59a7c1242f01443921e (patch)
treec5d5f3e7979f5a0098e7294d1e8dbae3aa71c562 /configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/es/userAccount.sh
parentff5f93347993bfdb6c58746baee006dbad7a3dd8 (diff)
modify entire source according to archiso32
and remove unused configs/talkingparabola-X11 Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/es/userAccount.sh')
-rwxr-xr-xconfigs/lxde-openrc/airootfs/root/.scriptsInstallation/language/es/userAccount.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/es/userAccount.sh b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/es/userAccount.sh
new file mode 100755
index 0000000..4ed7437
--- /dev/null
+++ b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/es/userAccount.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+user=$(cat /temporal | grep "userName")
+
+password=$(dialog --stdout --passwordbox "Introduce la contraseñara para el usuario ${user#*=}" 8 40)
+
+while [[ $password != $password2 ]]; do
+ password2=$(dialog --stdout --passwordbox "Repite la contraseña" 8 40)
+done
+
+useradd -m -g users -G "wheel" -s /bin/bash -p $(openssl passwd $password) ${user#*=}
+
+exit