chpasswd.cgi was adapted from htpasswd for use with Squid Cache Proxy. Special thanks to: Luigi Gangitano - Italian Language Juergen Scheiderer - German Language kurt.keller@raiffeisen.ch - German Language Richard Baselier - Dutch Language Robert Szabo - Hungarian Language Domonkos Sandor - Hungarian Language Horacio Diaz Requejo - Spanish Language Alexandre Allien - French Language Andrew - Russian Language Daniel L Sjvsvdrd - Swedish language IWAIZAKO Takahiro - Japanese language Philippe Michel - French language (fixed) Radek Malhic - Czech language Liu Botao - Chinese language Diego Liziero - Italian language (fixed) Oleg Chibarov - Russian1251 and RussianKOI8 language Lubos Vitek - Slovak kanguage Vic Hou - Chinese_big5 language Tomasz Przewlucki - Polish language Radovan Drobnjakovic - Serbian language Didzis Klavins - Latvian language Dodi Maryanto - Indonesian language Seby & Cosmin - Romanian language Ilker Gokhan - Turkish language 1. run ./configure configure options: --prefix=where the config file is default: /usr/local/etc/chpasswd --enable-language=English, Chinese, Chinese_big5, Czech, Dutch, French, German, Hungarian, Indonesian, Italian, Japanese, Latvian, Polish, Portuguese, Romanian, Russian1251, RussianKOI8, Serbian, Slovak, Spanish, Swedish, Turkish default: English --enable-cgidir=where your cgi-bin is default: /usr/local/etc/httpd/cgi-bin 2. make 3. make install 4. Go to /usr/local/etc/chpasswd (or file entered with --prefix on configure) and change chpasswd.conf as you need. chpasswd.conf TAG: passwd_file Where the password file is. TAG: ip_auth File with IP address or subnet address allowed to use. Eg.: 192.168.82.10 - only this IP will use 192.168.82.0 - IP's from 1 to 255 192.168.0.0 - ... 192.0.0.0 - ... 0.0.0.0 - allow everybody. A bad choice... TAG: header Especify the header for html page. TAG: minimum_length Especify the password minimum lenght. TAG: maximum_length Especify the password maximum lenght. TAG: minimum_char Force minimum characters (a-z, A-Z) on the new password. TAG: minimum_num Force minimum numbers (0-9) on the new password. TAG: minimum_spec Force minimum special characters (keyboard) on the new password. TAG: enable_log chpasswd will write a log from users request to the filename specified here. By default enable_log is disabled. TAG: show_pwd Show new pwd in clear text on log. TAG: background_color Html page background color TAG: text_color Html page text color TAG: title_color Html page title color TAG: rules_color Html page rules color TAG: logo_image Html page logo. TAG: logo_image_size Html page logo image size. width height TAG: background_image Html page background image TAG: alert_mail_user SMTP userid Message will be sent when chpasswd fail. TAG: alert_mail_subject SMTP subject Message will be sent when chpasswd fail. Remember, passwd and log file must be owned by httpd user, or chmod 777 Notes to translation: - edit chpasswd.h - copy block lines from #if defined(English) to #endif at the buttom file. - translate - send chpasswd.h to pedro.orso@gmail.com to implement the new language and share with many peoples. chepasswd source: http://sarg.sourceforge.net Any suggestions and/or comments: pedro.orso@gmail.com