DPWGEN
Section: User Commands (1)
Index
Return to Main Contents
BSD mandoc
NAME
dpwgen
- generate a list of secure passwords
SYNOPSIS
[-123456eh
]
[-la int
]
DESCRIPTION
The
utility allows the user to generate a list (or one)
secure random passwords in a variety of formats and of
configurable length.
The options are as follows:
- -1
-
Mode 1:
Construct a password out of numeric characters between 0 and 9.
- -2
-
Mode 2:
Construct a password out of alphabetical characters from A to Z.
- -3
-
Mode 3:
Construct a password out of characters from both Mode 1 and Mode 2.
- -4
-
Mode 4:
Construct a password out of characters from Mode 3,
but including lower-case alphabetical characters as well.
- -5
-
Mode 5:
Construct a password out of all printable ASCII characters.
- -6
-
Mode 6:
Construct a password out of easy to remember English words.
- -l int
-
Control the length of the generated passwords,
in characters or words,
depending on the mode.
- -a int
-
Control the amount of passwords that will be generated.
- -e
-
If built with
MKLONGWORDS=yes
use the EFF Large Wordlist instead of the default EFF Short
Wordlist 2.0.
(Only applies to Mode 6)
EXIT STATUS
Ex -std dpwgen
EXAMPLES
The command:
dpwgen -6e -l 7 -a 10
will generate ten pass-phrases,
seven words long,
using the large
wordlist,
for example
``next oxidize mystified bagful ladle hunting phony''
(and nine more).
The command:
dpwgen -4
will generate one password,
twelve characters long (the default),
using all lower and upper-case alphanumeric characters,
for example
``LRIa319trJoR''
SEE ALSO
diary(1),
drecord(1)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- EXIT STATUS
-
- EXAMPLES
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 20:41:42 GMT, July 27, 2026