mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
569 B
Plaintext
26 lines
569 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# makepasswd
|
|
|
|
> Generate and encrypt passwords.
|
|
> More information: <https://manned.org/makepasswd>.
|
|
|
|
- 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}}`
|