Linux command
pwqgen 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Generate passphrase
pwqgen
Generate with specific word count
pwqgen random=5
Generate multiple
pwqgen count=5
说明
pwqgen generates random passphrases by combining dictionary words with separators, producing passwords that are both strong and easy to remember. The random parameter controls the number of words used, with more words providing higher entropy. The tool is part of the passwdqc (password quality checking) suite and serves as a companion to pwqcheck. Generated passphrases follow the quality rules enforced by passwdqc's password policy, making them suitable for environments with strict password requirements.
参数
- random=N
- Number of random words.
- count=N
- Number of passphrases.
FAQ
What is the pwqgen command used for?
pwqgen generates random passphrases by combining dictionary words with separators, producing passwords that are both strong and easy to remember. The random parameter controls the number of words used, with more words providing higher entropy. The tool is part of the passwdqc (password quality checking) suite and serves as a companion to pwqcheck. Generated passphrases follow the quality rules enforced by passwdqc's password policy, making them suitable for environments with strict password requirements.
How do I run a basic pwqgen example?
Run `pwqgen` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does random=N do in pwqgen?
Number of random words.