MKPWDICT(8) Maintenance Commands and Procedures MKPWDICT(8)
mkpwdict - maintain password-strength checking database
/usr/bin/mkpwdict [-s dict1,... ,dictN]
[-d destination-path]
The mkpwdict command adds words to the dictionary-lookup database
used by pam_authtok_check(7) and passwd(1).
Files containing words to be added to the database can be specified
on the command-line using the -s flag. These source files should have
a single word per line, much like /usr/share/lib/dict/words.
If -s is omitted, mkpwdict will use the value of DICTIONLIST
specified in /etc/default/passwd (see passwd(1)).
The database is created in the directory specified by the -d option.
If this option is omitted, mkpwdict uses the value of DICTIONDBDIR
specified in /etc/default/passwd (see passwd(1)). The default
location is /var/passwd.
The following options are supported:
-s
Specifies a comma-separated list of files containing words to
be added to the dictionary-lookup database.
-d
Specifies the target location of the dictionary-database.
/etc/default/passwd
See passwd(1).
/var/passwd
default destination directory
See attributes(7) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Interface Stability | Evolving |
+--------------------+-----------------+
passwd(1), attributes(7), pam_authtok_check(7)
August 13, 2023 MKPWDICT(8)
NAME
mkpwdict - maintain password-strength checking database
SYNOPSIS
/usr/bin/mkpwdict [-s dict1,... ,dictN]
[-d destination-path]
DESCRIPTION
The mkpwdict command adds words to the dictionary-lookup database
used by pam_authtok_check(7) and passwd(1).
Files containing words to be added to the database can be specified
on the command-line using the -s flag. These source files should have
a single word per line, much like /usr/share/lib/dict/words.
If -s is omitted, mkpwdict will use the value of DICTIONLIST
specified in /etc/default/passwd (see passwd(1)).
The database is created in the directory specified by the -d option.
If this option is omitted, mkpwdict uses the value of DICTIONDBDIR
specified in /etc/default/passwd (see passwd(1)). The default
location is /var/passwd.
OPTIONS
The following options are supported:
-s
Specifies a comma-separated list of files containing words to
be added to the dictionary-lookup database.
-d
Specifies the target location of the dictionary-database.
FILES
/etc/default/passwd
See passwd(1).
/var/passwd
default destination directory
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Interface Stability | Evolving |
+--------------------+-----------------+
SEE ALSO
passwd(1), attributes(7), pam_authtok_check(7)
August 13, 2023 MKPWDICT(8)