2019-11-14 22:02:51 +00:00
|
|
|
# makepasswd
|
|
|
|
|
|
|
|
> Generate and encrypt passwords.
|
2023-05-14 03:49:17 +01:00
|
|
|
> More information: <https://manpages.debian.org/latest/makepasswd/makepasswd.1.en.html>.
|
2019-11-14 22:02:51 +00:00
|
|
|
|
|
|
|
- Generate a random password (8 to 10 characters long, containing letters and numbers):
|
|
|
|
|
|
|
|
`makepasswd`
|
|
|
|
|
|
|
|
- Generate a 10 characters long password:
|
|
|
|
|
|
|
|
`makepasswd --chars {{10}}`
|
|
|
|
|
|
|
|
- Generate a 5 to 10 characters long password:
|
|
|
|
|
|
|
|
`makepasswd --minchars {{5}} --maxchars {{10}}`
|
|
|
|
|
|
|
|
- Generate a password containing only the characters "b", "a" or "r":
|
|
|
|
|
|
|
|
`makepasswd --string {{bar}}`
|