Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../../../usr/man/man8/mkpwdict.8
Real path: /usr/share/man/man8/mkpwdict.8
Zurück
'\" te .\" Copyright (c) 2004, 2021, Oracle and/or its affiliates. .TH mkpwdict 8 "21 Jun 2021" "Oracle Solaris 11.4" "System Administration Commands" .SH NAME mkpwdict \- maintain password-strength checking database .SH SYNOPSIS .LP .nf \fB/usr/bin/mkpwdict\fR [\fB-s\fR \fIdict1\fR,... ,\fIdictN\fR] [\fB-l\fR \fIminwordlength\fR] [\fB-d\fR \fIdestination-path\fR] .fi .SH DESCRIPTION .sp .LP The \fBmkpwdict\fR command adds words to the dictionary-lookup database used by \fBpam_authtok_check\fR(7) and \fBpasswd\fR(1). .sp .LP Files containing words to be added to the database can be specified on the command-line using the \fB-s\fR flag. .sp .LP These source files should have a single word per line. A word should contain only alphanumeric characters; case does not matter. All other characters are discarded. Words shorter than the specified minimum (see below) are skipped. The file \fB/usr/share/lib/dict/words\fR or another spell-checking dictionary can be used as a source file but needs to be processed so that it contains only words with minimum length, by specifying \fBDICTIONMINWORDLENGTH\fR in \fB/etc/default/passwd\fR or the \fB-l\fR option. .sp .LP If \fB-s\fR is omitted, \fBmkpwdict\fR will use the value of \fBDICTIONLIST\fR specified in \fB/etc/default/passwd\fR (see \fBpasswd\fR(1)). .sp .LP If \fB-l\fR is omitted, \fBmkpwdict\fR will use the value of \fBDICTIONMINWORDLENGTH\fR specified in \fB/etc/default/passwd\fR (see \fBpasswd\fR(1)). .sp .LP The database is created in the directory specified by the \fB-d\fR option. If this option is omitted, \fBmkpwdict\fR uses the value of \fBDICTIONDBDIR\fR specified in \fB/etc/default/passwd\fR (see \fBpasswd\fR(1)). The default location is \fB/var/passwd\fR. .SH OPTIONS .sp .LP The following options are supported: .sp .ne 2 .mk .na \fB\fB-s\fR\fR .ad .RS 6n .rt Specifies a comma-separated list of files containing words to be added to the dictionary-lookup database. .RE .sp .ne 2 .mk .na \fB\fB-l\fR\fR .ad .RS 6n .rt Specifies the minimum dictionary word length, in letters. Words shorter than the specified number will be omitted from the corresponding source file. This option takes a number greater or equal to 2. .RE .sp .ne 2 .mk .na \fB\fB-d\fR\fR .ad .RS 6n .rt Specifies the target location of the dictionary-database. .RE .SH EXAMPLES .LP \fBExample 1\fR Using Two Spell-checking Dictionaries and Filtering Them to Contain Only Words not Shorter Than 3 Letters .sp .in +2 .nf example$ \fBmkpwdict -s /path/to/dict1,/path/to/dict2 -l 3\fR .fi .in -2 .sp .sp .LP This example processes dictionary \fB/path/to/dict1\fR and skips words from it shorter than 3 letters. Then it processes dictionary \fB/path/to/dict2\fR and skips words from it shorter than 3 letters. Finally these two dictionaries are merged and written to the default password dictionary location. .SH FILES .sp .ne 2 .mk .na \fB\fB/etc/default/passwd\fR\fR .ad .RS 23n .rt See \fBpasswd\fR(1). .RE .sp .ne 2 .mk .na \fB\fB/var/passwd\fR\fR .ad .RS 23n .rt default destination directory .RE .SH ATTRIBUTES .sp .LP See \fBattributes\fR(7) for descriptions of the following attributes: .sp .TS tab( ) box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPE ATTRIBUTE VALUE _ Availability system/core-os _ Interface Stability Committed .TE .sp .SH SEE ALSO .sp .LP \fBpasswd\fR(1), \fBattributes\fR(7), \fBpam_authtok_check\fR(7) .SH HISTORY .sp .LP The \fB-l\fR option and \fBDICTIONMINWORDLENGTH\fR property were added in Oracle Solaris 11.1.17 and a Solaris 10 patch. .sp .LP The \fBmkpwdict\fR command was added to Oracle Solaris in Solaris 10 3/05.