Chpasswd

De gacq wiki
Revisión del 01:16 20 mar 2007 de Gacq (discusión | contribuciones) (Debian Etch installation)
(dif) ← Revisión anterior | Revisión actual (dif) | Revisión siguiente → (dif)
Saltar a: navegación, buscar

Chpasswd is a cgi utility that allow your users to change their Squid or Web passwords using the browser.

Debian Etch installation

wget http://ufpr.dl.sourceforge.net/sourceforge/orsochpasswd/chpasswd-2.2.3.tar.gz
tar zxf chpasswd-2.2.3.tar.gz
cd chpasswd-2.2.3
wget http://sarg.sourceforge.net/htoi.patch
patch -Np1 -i htoi.patch
apt-get install gcc g++ make
./configure --enable-language=Spanish --enable-cgidir=/usr/lib/cgi-bin
make
make install

Go to /usr/local/etc/chpasswd (or file entered with --prefix on configure) and change chpasswd.conf as you need

Errors

C compiler cannot create executables

checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
Solution
install g++
apt-get install g++