1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 00:42:08 +02:00

makepasswd: add page (#3566)

This commit is contained in:
Pierre Rudloff 2019-11-14 23:02:51 +01:00 committed by Marco Bonelli
parent c704bd8ec5
commit f62c41c1b4

View file

@ -0,0 +1,20 @@
# makepasswd
> Generate and encrypt passwords.
> More information: <https://manpages.debian.org/stretch/makepasswd/makepasswd.1.en.html>.
- 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}}`