hardcode usershell
This commit is contained in:
parent
d9c08b4e2b
commit
3fd66b9386
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user