Passwd file DESCRIPTION basic_ncsa_auth allows Squid to read and authenticate user and password information from an NCSA/Apache httpd-style password file when using basic HTTP authentication. Linux stores most account features in the /etc/passwd file. It is a text-based file with with seven fields for each entry. Each entry begins with a username and continues with a set of fields separated by colons (:).
how do can I control users (groups like: admin1, admin2, boss1, boss2) access for each group? Have I to put them all into one user-pass file, or one user-pass file for each group? I can't use IP, I have to work with ncsa_auth.I tried both ways, but in the 1st, I don't know how to tell squid (with acl's) to make out wich group(admin or boss) is, and the 2nd way didn't work too.
I'm actually working with the second (but if you know something about the first.), with 2 virtual machines(both lubuntu), with firefox; I create users with a script with 'htpasswd -b etc.' I tested if user proxy can read and it can.
With these acl's:
the authentication window appears 2 times when I click cancel(I don't know why)
I put all the user-pass file (the 1st four auth_param basic), I don't know if that's the way to tell squid where user-pass files are.
Only 'users' authentication works. with others, aunthentication always pop up Screen crack prank laptop.
Thanks. Download all files ftp directory vb net remove.
Ncsa_auth Passwd File Format
1 Answer
SOLVED.For filter by groups of users, squid3 needs:an user-pass (squid_passwd) file created with 'htpasswd'and simple user text file, done with echo (or what you prefer),ex:auth_param basic program ../ncsa_auth /squid_passwd-directoryacl group1 proxy_auth '/simple-users-text-file-directory'acl group2 proxy_auth '/simple-users-text-file2-directory'
group1/2 users are in the squid_passwd too.