SV-216338r603267_rule
V-216338
SRG-OS-000480
SOL-11.1-040190
CAT II
10
The root role is required.
# pfedit /etc/default/passwd
Insert the lines:
DICTIONLIST=/usr/share/lib/dict/words
DICTIONDBDIR=/var/passwd
Generate the password dictionary by running the mkpwdict command.
# mkpwdict -s /usr/share/lib/dict/words
Check /etc/default/passwd for dictionary check configuration.
# grep ^DICTION /etc/default/passwd
If the DICTIONLIST or DICTIONDBDIR settings are not present and are not set to:
DICTIONLIST=/usr/share/lib/dict/words
DICTIONDBDIR=/var/passwd
this is a finding.
Determine if the target files exist.
# ls -l /usr/share/lib/dict/words /var/passwd
If the files defined by DICTIONLIST or DICTIONBDIR are not present or are empty, this is a finding.
V-216338
False
SOL-11.1-040190
Check /etc/default/passwd for dictionary check configuration.
# grep ^DICTION /etc/default/passwd
If the DICTIONLIST or DICTIONDBDIR settings are not present and are not set to:
DICTIONLIST=/usr/share/lib/dict/words
DICTIONDBDIR=/var/passwd
this is a finding.
Determine if the target files exist.
# ls -l /usr/share/lib/dict/words /var/passwd
If the files defined by DICTIONLIST or DICTIONBDIR are not present or are empty, this is a finding.
M
4022