1
0

And, let's change line wrapping here.

This commit is contained in:
Alexander Andreev 2023-05-24 22:49:36 +04:00
parent 14efad4a4a
commit 14ec537d82
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -6,5 +6,5 @@ else
char_num=64; char_num=64;
fi fi
cat /dev/urandom | tr -dc 'a-zA-Z0-9!@#$%^&*' | fold -w $char_num \ cat /dev/urandom | tr -dc 'a-zA-Z0-9!@#$%^&*' | fold -w $char_num | head -n 1 \
| head -n 1 | systemd-creds encrypt -qp --name=salt - - 2> /dev/null | systemd-creds encrypt -qp --name=salt - - 2> /dev/null