Skip to content

Commit

Permalink
makepasswd: add page (#3566)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudloff authored and mebeim committed Nov 14, 2019
1 parent c704bd8 commit f62c41c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pages/common/makepasswd.md
Original file line number Diff line number Diff line change
@@ -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}}`

0 comments on commit f62c41c

Please sign in to comment.