Contents
Shell
- Take your favorite terminal, and do simply this trick:
|
|
-
There you go, you have a secured random password containing 40 characters that you can store into your password manager.
-
Then create an alias for it in your .bashrc:
|
|
Explanations:
Utility
- pwgen: utility used to generate pronounceable passwords
- How to use:
|
|
Options
- option -s: generate completely random, hard-to-memorize passwords.
- option -y: include at least one special character.
- option -n: include numbers.
- option -c: include at least one capital letter in the password.
- 40: number of characters
- 1: number of password generated
KeepassXC
- Use a tool like keepassXC to store locally your password on a password manager. Then you can choose a way to version it, for example git or nextcloud.