LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Squid usernames, groups, password (https://www.linuxquestions.org/questions/linux-networking-3/squid-usernames-groups-password-14392/)

barDo 02-16-2002 02:35 PM

Squid usernames, groups, password
 
Hello friends, I want to know if Squid let me authentic.. (sorry for my english) by usernames and groups to let my users navigate.

I am working with a LAN of 53 shared workstations, and I want to let navigate on the web specifics users, they used to connect from differents stations, so I need to validate the user, and if he/she is a valid username for squid, he/she continues navigating, else no acces to web.

thanks.

xanthium 02-18-2002 10:35 PM

yes
 
hi ,

yes squid does allows u to authenticate based on user name but this is not done by consulting the /etc/passwd file, rather you will have to mention ur own hashed password file containing the user names and password. Changes have to be made in squid.conf file for you to use user authentication program.

i guess u can use the ncsa_auth authenticate program.

The standard authentication modules are in $SQUID-HOME/$SQUID-VERSION/auth_modules/. To compile and install the modules, go to their subdirectory and run make, then make install.

Example:

auth_modules% cd NCSA
NCSA% make
NCSA% make install


or try searching in authenticate_program /usr/local/squid/bin/
or /etc/squid directory.

for generating passwords you can use Apache's htpasswd utility



regards,
xanthium.


All times are GMT -5. The time now is 06:41 AM.