| Server IP : 185.11.201.71 / Your IP : 192.168.7.18 Web Server : Apache/2.4.29 (Ubuntu) System : Linux tech-virtual-machine 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 User : tech ( 1000) PHP Version : 7.4.28 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /etc/cracklib/ |
Upload File : |
# copyright:
# Copyright (C) 1998, 1999 Jean Pierre LeJacq <jplejacq@quoininc.com>
# Modified 2003 by Martin Pitt <martin@piware.de>
#
# Distributed under the GNU GENERAL PUBLIC LICENSE.
#
# description:
# Host configuration of cracklib.
#
# Defines location of database used by cracklib as well as files
# used to create this database. The database location,
# cracklib_dictpath, is compiled into the utility programs that are
# part of the cracklib-runtime package and should not be modified.
# But you should definitely add additional entries to
# cracklib_dictpath_src. The entries are separated by spaces and
# should be the fully qualified path to a file of words that
# passwords should not match. The files may optionally be compressed
# with gzip.
#
# The current configuration supports both the fsstnd 1.2 and fhs 2.0
# standard location for dictionaries.
#
# format:
# posix shell syntax.
#
# reference:
# 1. http://www.pathname.com/fhs/2.0/fhs-toc.html
# 2. http://www.pathname.com/fhs/1.2/fsstnd-toc.html
# database (do not modify):
readonly cracklib_dictpath="/var/cache/cracklib/cracklib_dict"
# database sources:
cracklib_dictpath_src=""
if [ -r "/usr/share/dict/cracklib" ]
then
cracklib_dictpath_src="${cracklib_dictpath_src} /usr/share/dict/cracklib"
fi
if [ -r "/usr/local/share/dict/cracklib" ]
then
cracklib_dictpath_src="${cracklib_dictpath_src} /usr/local/share/dict/cracklib"
fi
for i in /usr/share/dict /usr/dict /usr/local/share/dict /usr/local/dict
do
if [ -d $i ]
then
for file in $(find $i -type f -print)
do
if $(file -z -b ${file} | grep -q "text")
then
cracklib_dictpath_src="${cracklib_dictpath_src} ${file}"
fi
done
fi
done