Re: [SQU] passwd/shadow authentication, non-PAM

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 30 Jan 2001 01:30:53 +0100

You could write your own, based on the getpwnam helper but using
getspnam instead of getpwnam (see /usr/include/shadow.h)

The helper needs to be suid root to read /etc/shadow.

--
Henrik Nordstrom
Squid hacker
Dave Wilson wrote:
> 
> Hi guys, howzit going ? ;-)
> 
> Something simple:
> 
> I need to get Squid doing authentication against /etc/passwd & /etc/shadow,
> does anyone have any ideas on how to do this ?
> 
> You see the reason is that we are running Slackware Linux, which does not
> come with PAM, so I really need to get the authentication working just
> against passwd & shadow.
> Any guidance would be appreciated.
> Thanks.
> 
> Kindest regards
> David Wilson
> The S.A Internet
> 
> #include <std-disclaimer.h>
> 
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Mon Jan 29 2001 - 18:20:35 MST

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