Displaying 1 result from an estimated 1 matches for "repasdatea".
2008 Dec 09
0
check password script
...nix (see
smb.conf below)
We want to implement a few password checks for complexity, so I have written
a pretty basic script (see below) which definitely exits 0 on a good
password and throws it at cracklib (after complexity checks) to check for
dictionary words.
pdc:~/scripts# ./cracklib.sh repasdateA!
pdc:~/scripts# echo $?
0
pdc:~/scripts# ./cracklib.sh r3pl1Cat3
ERR - it is based on a dictionary word
pdc:~/scripts# echo $?
253
When I add it into smb.conf, it doesn't work. All users get a message saying
it isn't matching the pdbedit policies (even though it is) no password
ch...