2011/2/10 Arief Yudhawarman <arief.mi...@jember.net> > > Tool untuk mencek password strength atau "kekuatan" password apa ? > Saya sedang buat script untuk nambah account email di zimbra yang > sudah dilengkapi dengan zimlet posix account dan samba account. Script > ini sudah fungsional hanya tinggal buat script untuk mencek apakah > inputan password ini lemah atau kuat. > > Seperti contoh ini bila kita buat password user di distro redhat: > > [root@server ~]# passwd ableh > Changing password for user ableh. > New UNIX password: > BAD PASSWORD: it is too short > Retype new UNIX password: > Sorry, passwords do not match. > New UNIX password: > BAD PASSWORD: it is too simplistic/systematic > Retype new UNIX password: > > Coba gunakan library package cracklib mas :
The CrackLib package contains a library used to enforce strong passwords by comparing user selected passwords to words in chosen word lists. Description:CrackLib tests passwords to determine whether they match certain security-oriented characteristics. You can use CrackLib to stop users from choosing passwords which would be easy to guess. CrackLib performs certain tests: * It tries to generate words from a username and gecos entry and checks those words against the password; * It checks for simplistic patterns in passwords; * It checks for the password in a dictionary. CrackLib is actually a library containing a particular C function which is used to check the password, as well as other C functions. CrackLib is not a replacement for a passwd program; it must be used in conjunction with an existing passwd program. Install the cracklib package if you need a program to check users' passwords to see if they are at least minimally secure. If you install CrackLib, you'll also want to install the cracklib-dicts package. (from rpm description) -- Best Regards, Masim "Vavai" Sugianto /************************************************************/ Blog (ID) : http://www.vavai.com Excellent Infotama Kreasindo : http://www.vavai.biz Training Zimbra & Admin Linux : http://bit.ly/h53o2Q /************************************************************/ -- FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab Unsubscribe: kirim email ke tanya-jawab-unsubscr...@linux.or.id Arsip dan info milis selengkapnya di http://linux.or.id/milis