FM

//sbin UP

#!/bin/sh

usage() {
	cat <<-EOF
	Usage: create-cracklib-dict [options] wordlist ...
	
	This script takes one or more word list files as arguments
	and converts them into cracklib dictionaries for use
	by password checking programs. The results are placed in
	the default compiled-in dictionary location.
	
	If you wish to store the dictionary in a different location,
	use the cracklib-format and cracklib-packer commands directly.
	
	Options:
	  -o, --output <file>   Alternative output file for cracklib-packer
	  -h, --help            This help output
	
	Example:
	create-cracklib-dict /usr/share/words
	EOF
	if [ -n "$*" ] ; then
		echo 1>&2
		echo "Error: $*" 1>&2
		exit 1
	else
		exit 0
	fi
}

output=""
while [ -n "$1" ] ; do
	case $1 in
		-o|--output) output=$2; shift;;
		-h|--help)   usage;;
		--)          break;;
		-*)          usage "unknown option '$*'";;
		*)           break;;
	esac
	shift
done

[ -z "$*" ] && usage

exec cracklib-format "$@" | cracklib-packer ${output}
cagefs_enter_site1877V
cagefsctl-user13203V
chroot42448V
consoletype12160V
cracklib-check13360V
cracklib-format251V
cracklib-packer13368V
cracklib-unpacker9248V
create-cracklib-dict990V
ddns-confgen20944V
dnssec-checkds936V
dnssec-coverage938V
dnssec-dsfromkey62304V
dnssec-importkey62304V
dnssec-keyfromlabel66312V
dnssec-keygen74592V
dnssec-keymgr934V
dnssec-revoke58104V
dnssec-settime62296V
dnssec-signzone120016V
dnssec-verify54112V
exim1280V
faillock21016V
genrandom12672V
hsendmail7510347V
ip709944V
isc-hmac-fixup12136V
ldconfig1009752V
lvdctl5555V
mkhomedir_helper25024V
named-checkzone37512V
named-compilezone37512V
nsec3hash12584V
pam_console_apply46280V
pam_timestamp_check12152V
pluginviewer21064V
proxyexec21680V
pwhistory_helper20928V
saslauthd96688V
sasldblistusers221264V
saslpasswd216816V
sendmail7510347V
sendmail.bak1048V
sendmail.exim1280V
testsaslauthd17056V
tmpwatch36320V
tsig-keygen20944V
unix_chkpwd37744V
unix_update37744V
Blog - Page 504 of 508 - My Melon - Digital Marketing & Creative Agency
Skip to content Skip to footer