Update 2023-09-18 12:24 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id
2023-09-18 12:24:42 +02:00
parent 76aeb5288c
commit 5f45e94b0d
7 changed files with 14 additions and 6 deletions

View File

@@ -8,7 +8,12 @@ echo -n "Username: "
read
_login="$REPLY"
_password="$(pwgen -syn -r "{}'\\§()°\`|[]\";" 16 1)"
echo -n "Password (empty to generate): "
read
[ -z "$REPLY" ] \
&& _password="$(pwgen -syn -r "{}'\\§()°\`|[]\";" 16 1)" \
|| _password="$REPLY"
{
echo "$_password";