Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => Linux Proxy Server Support => Topic started by: ask2mejack on June 21, 2010, 05:24:27 PM

Title: password change of squid users using web
Post by: ask2mejack on June 21, 2010, 05:24:27 PM
Hi all

I have installed squid 2.6,sarge,webmin 1.5,squidguard1.3,dansguardia in a centos 5.4 version.Since I want to implement the password change option using web, i installed changepassword 0.9.Everything was working fine except the changepassword cgi.
I can see the interface of change password screen and when i tried to change the password using web, it displayed "user not found or invalid.Please go back and try again." But actually there is a user with that password.
My password is stored at /etc/squid/squid_passwd.I have changed the permissions to 777 .But all in vain.For the last two weeks iam trying to solve this.Please help me to solve this problem.Where i can search for the logs?the httpd log is as follows

[Mon Jun 21 22:02:35 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jun 21 22:02:35 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jun 21 22:02:35 2010] [notice] Digest: done
[Mon Jun 21 22:02:35 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations

Thanks for all in advance for your help
Title: Re: password change of squid users using web
Post by: gauravbajaj on July 09, 2010, 06:06:47 AM
Looks like the user doesn't exists in squid_passwd file , u have to add the user first using httpasswd command ,

add user like below
#htpasswd /etc/squid/squid_passwd abc                           -------> where abc is username
then give read permission to others

#chmod o+r /etc/squid/squid_passwd

Check below link for more details