Generating An Apache Or Squid Password

Generating An Apache Or Squid Password htpasswd -d /etc/squid/passwd usera