snippetbashTip
apg — Create arbitrarily complex random passwords. More information: <https://manned.org/apg>.
Viewed 0 times
complexcreatecommandarbitrarilyclirandomapgpasswords
Problem
How to use the
apg command: Create arbitrarily complex random passwords. More information: <https://manned.org/apg>.Solution
apg — Create arbitrarily complex random passwords. More information: <https://manned.org/apg>.Create random passwords (default password length is 8):
apgCreate a password with at least 1 symbol (S), 1 number (N), 1 uppercase (C), 1 lowercase (L):
apg -M SNCLCreate 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 {{path/to/dictionary_file}}Code Snippets
Create random passwords (default password length is 8)
apgCreate a password with at least 1 symbol (S), 1 number (N), 1 uppercase (C), 1 lowercase (L)
apg -M SNCLCreate 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 {{path/to/dictionary_file}}Context
tldr-pages: common/apg
Revisions (0)
No revisions yet.