Update 2024-02-14 07:51 OpenBSD/amd64-x13
This commit is contained in:
25
.bin/OLD/pass-change
Executable file
25
.bin/OLD/pass-change
Executable file
@@ -0,0 +1,25 @@
|
||||
#/bin/sh
|
||||
|
||||
echo -n "Internet/...: "
|
||||
read
|
||||
_file="Internet/$REPLY"
|
||||
|
||||
echo -n "Username: "
|
||||
read
|
||||
_login="$REPLY"
|
||||
|
||||
echo -n "Password (empty to generate): "
|
||||
read
|
||||
|
||||
[ -z "$REPLY" ] \
|
||||
&& _password="$(pwgen -syn -r "{}'\\§()°\`|[]\";" 16 1)" \
|
||||
|| _password="$REPLY"
|
||||
|
||||
{
|
||||
echo "$_password";
|
||||
echo "Username: $_login";
|
||||
} | pass insert -m "${_file}"
|
||||
|
||||
echo "======="
|
||||
|
||||
pass "${_file}"
|
||||
Reference in New Issue
Block a user