Oleg Kourapov in Moskva is doing 28 things including…

add features to my home server

1 cheer

 

Sponsored Links

Home Add On

www.servicemagic.com/     Find Five-Star Rated Addition Pros Backed By Our Service Guarantee!

Ad Server

www.mediaplex.com/     Track, Manage and Optimize Online Advertising with MOJO Adserver

Home2 Suites® by Hilton

home2suites.hilton.com/     Book Your Suite Online Today For Our Best Rates. Guaranteed!

Addition To Home

www.angieslist.com/     Remodeling Your Home? Get Help. Review Companies at Angie's List!

Addition To Home

homeadditions.reply.com/     Find Home Addition Costs Online. Free, Fast, Easy, & No Obligations.

Home Addition

www.1800contractor.com/Addition     Let's Build Your Addition Business. Enter Your Info. Get Leads Today!

Oleg Kourapov has written 1 entry about this goal

Generate CrackLib word library on Ubuntu Linux

Last night I tried to install CrackLib on my home server running Ubuntu 6.10 Edgy Eft distro. If you don’t know what CrackLib does, it is a library that may (and should) be used by security-concious applications to prevent users from choosing passwords that are too simple (and thus could be guessed or easily cracked by brute-force attack). And for those who think this is not an important issue, Bruce Schneier, well-known security expert, has posted in his blog the list of top 20 passwords including such favorites as abc123, 123abc, myspace1, and the single most-used key, password1!

I proceeded as usual:
$ sudo apt-get install cracklib2
The catch is: for some reason Ubuntu doesn’t tell you what to do next! It doesn’t provide you with a word list, doesn’t create a dictionary required to use cracklib during installation sequence, and even man cracklib is pretty sparse on info.However, it’s all there, you just have to know where to look for it! After some good old trial’n’error I was able to find the way to do it myself. So here goes:
install cracklib-runtime and add any of the localized wordlist packages to taste – wamerican, wbritish, wfrench, etc (run apt-get install wordlist for the full list):
$ sudo apt-get install cracklib-runtime wbritish
[optional] download extra lists (e.g. at COTSE’s Word Lists) and put them to /usr/share/dict directory:
$ sudo mv /path/to/downloaded/file /usr/share/dict
generate CrackLib dictionary from downloaded word lists:
$ sudo update-cracklib /var/cache/cracklib/cracklib_dict
This will create files named cracklib_dict.hwm, cracklib_dict.pwd and cracklib_dict.pwi in /var/cache/cracklib/ directory – which is exactly where CrackLib expects them to be. And that’s it! Wish this info was there in the first place…

You can now check if anything went as expected by running crack_teststr – it will ask you to enter dictionary words and tell you if they exist or not (Ctrl + C to finish).



Oleg Kourapov has gotten 1 cheer on this goal.

 

I want to:
43 Things Login