From 765756ae126d57735c22d59a7c1242f01443921e Mon Sep 17 00:00:00 2001 From: David P Date: Wed, 16 May 2018 21:08:49 -0400 Subject: modify entire source according to archiso32 and remove unused configs/talkingparabola-X11 Signed-off-by: David P --- .../root/.scriptsInstallation/language/pt/userAccount.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/pt/userAccount.sh (limited to 'configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/pt/userAccount.sh') diff --git a/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/pt/userAccount.sh b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/pt/userAccount.sh new file mode 100755 index 0000000..408beba --- /dev/null +++ b/configs/lxde-openrc/airootfs/root/.scriptsInstallation/language/pt/userAccount.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +user=$(cat /temporal | grep "userName") + +password=$(dialog --stdout --passwordbox "Insira a senha para o usuário ${user#*=}" 8 40) + +while [[ $password != $password2 ]]; do + password2=$(dialog --stdout --passwordbox "Repita a senha" 8 40) +done + +useradd -m -g users -G "wheel" -s /bin/bash -p $(openssl passwd $password) ${user#*=} + +exit -- cgit v1.2.2