hardcode usershell

This commit is contained in:
teldra 2021-03-12 16:33:31 +01:00
parent d9c08b4e2b
commit 3fd66b9386

View File

@ -58,15 +58,8 @@ while echo $((index++)) > /dev/null; do
elif [[ ! "${repeat}" == "1" ]]; then
useradder "sudo" "${counter}" ",wheel,socklog"
fi
while input "shell?" "/usr/bin/bash"; do
if test -x "$(command -v "${output}")"; then
useradder "shell" "${counter}" "$(command -v "${output}")"
# hier mal ne sicherheitsabfrage ob user das wirklich will
break
fi
echo not found or executable: "${shell_intern}"
done
useradder "shell" "${counter}" "/usr/bin/bash"
done
input_pw "User ${users[name${counter}]} password"