Linux command
apg 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Generate
apg
Example
apg -m [16] -x [20]
Example
apg -a 0
Example
apg -a 1
Example
apg -M SNCL
Example
apg -E "0O1lI"
说明
apg (Automated Password Generator) creates random passwords using either a pronounceable password algorithm (based on phoneme sequences) or completely random characters. Pronounceable passwords are easier to remember but potentially less secure. Random passwords offer maximum entropy but are harder to memorize.
参数
- -a _algorithm_
- Algorithm: 0=pronounceable, 1=random
- -m _length_
- Minimum password length
- -x _length_
- Maximum password length
- -n _count_
- Number of passwords to generate
- -M _mode_
- Character classes: S=special, N=numeric, C=capital, L=lowercase. Prefix with uppercase to require the class.
- -E _chars_
- Exclude specific characters
- -r _file_
- Check against dictionary file for password filtering
- -t
- Print pronunciation for pronounceable passwords
- -q
- Quiet mode (passwords only)
- -s
- Prompt for random seed from keyboard input
- -l
- Spell generated passwords phonetically
FAQ
What is the apg command used for?
apg (Automated Password Generator) creates random passwords using either a pronounceable password algorithm (based on phoneme sequences) or completely random characters. Pronounceable passwords are easier to remember but potentially less secure. Random passwords offer maximum entropy but are harder to memorize.
How do I run a basic apg example?
Run `apg` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -a _algorithm_ do in apg?
Algorithm: 0=pronounceable, 1=random