2016-08-26 12:07:09 +01:00
|
|
|
# apg
|
|
|
|
|
|
|
|
> Creates arbitrarily complex random passwords.
|
2021-03-31 15:45:32 +01:00
|
|
|
> More information: <https://manpages.debian.org/latest/apg/apg.1.html>.
|
2016-08-26 12:07:09 +01:00
|
|
|
|
|
|
|
- Create random passwords (default password length is 8):
|
|
|
|
|
|
|
|
`apg`
|
|
|
|
|
|
|
|
- Create a password with at least 1 symbol (S), 1 number (N), 1 uppercase (C), 1 lowercase (L):
|
|
|
|
|
|
|
|
`apg -M SNCL`
|
|
|
|
|
|
|
|
- Create a password with 16 characters:
|
|
|
|
|
|
|
|
`apg -m {{16}}`
|
|
|
|
|
|
|
|
- Create a password with maximum length of 16:
|
|
|
|
|
|
|
|
`apg -x {{16}}`
|
|
|
|
|
|
|
|
- Create a password that doesn't appear in a dictionary (the dictionary file has to be provided):
|
|
|
|
|
|
|
|
`apg -r {{dictionary_file}}`
|