Re: Authentication using standard /etc/passwd file

From: Bob Franklin <r.c.franklin@dont-contact.us>
Date: Fri, 15 Oct 1999 18:34:07 +0100

Hi,

Since the password file that 'ncsa_auth' uses is specified on it's
command line (using the 'authenticate_program') in the squid.conf file,
there's no reason why you have to involve the standard UNIX password
file at all.

Our caches use a NIS passwd file to authenticate (it's built using the
usual 'ypcat passwd | awk -F: '{ print $1 ":" $2 }' > htpasswd' type
script). However, the accounts themselves are not valid on the actual
cache machines.

You could use some sort of tool (perhaps a little Perl script) - or
even by hand to manage a 'htpasswd' file of this sort and not involve
the standard UNIX file at all.

Of course, if you have some accounts which are normal UNIX ones and
some which are specials for the cache, you can just join them together.

  - Bob

-- 
 Bob Franklin <r.c.franklin@reading.ac.uk>     Tel. +44 (0)118 931 8432
 Systems and Communications, IT Services, The University of Reading, UK
Received on Fri Oct 15 1999 - 11:42:31 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:48:55 MST