From 8d140ce60ae05caa0d0c262fc33a4e26540abbc9 Mon Sep 17 00:00:00 2001 From: Jorginho Date: Wed, 9 Sep 2015 20:51:01 +0200 Subject: Change X11/icewm for Mate desktop --- .../root/.scriptsInstallation/language/es/userAccount.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 configs/mate/root-image/root/.scriptsInstallation/language/es/userAccount.sh (limited to 'configs/mate/root-image/root/.scriptsInstallation/language/es/userAccount.sh') diff --git a/configs/mate/root-image/root/.scriptsInstallation/language/es/userAccount.sh b/configs/mate/root-image/root/.scriptsInstallation/language/es/userAccount.sh new file mode 100755 index 0000000..4ed7437 --- /dev/null +++ b/configs/mate/root-image/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 -- cgit v1.2.3