Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 170397 - pam authentication fails
Summary: pam authentication fails
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: squid
Version: 3.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Martin Stransky
QA Contact:
Depends On: 162660
Blocks: 168424
TreeView+ depends on / blocked
Reported: 2005-10-11 10:53 UTC by Martin Stransky
Modified: 2010-04-28 13:12 UTC (History)
1 user (show)

Fixed In Version: RHSA-2006-0045
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2006-03-15 15:43:51 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2006:0045 qe-ready SHIPPED_LIVE Moderate: squid security update 2006-03-15 05:00:00 UTC

Description Martin Stransky 2005-10-11 10:53:01 UTC
+++ This bug was initially created as a clone of Bug #162660 +++

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.8) Gecko/20050512 Red
Hat/1.0.4-1.4.1 Firefox/1.0.4

Description of problem:
/usr/lib/squid/ncsa_auth and /usr/lib/squid/pam_auth are packages without setuid
root. They are therefore cannot access the shadow password file and cannot
authenticate until a manual chown has been executed.

Because of this, the package cannot be auto-updated.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Enable ncsa authentication in squid
2. Try to log in (failed)
3. chown /usr/lib/squid/ncsa_auth to setuid root
4. restart squid to restart the authenticator
5. Try to log in (success)

Additional info:

The previous report of this issue (56027) has just been closed without a fix.

-- Additional comment from on 2005-07-07 07:24 EST --


-- Additional comment from on 2005-07-07 07:38 EST --
You are right, but we want to avoid using setuid. I'll be working on it.

-- Additional comment from on 2005-07-15 10:05 EST --
pam_auth and ncsa_auth have setuid in rawhide...

-- Additional comment from on 2005-07-15 17:56 EST --

Any idea when this might filter through to the production RHEL4 package?

-- Additional comment from on 2005-07-18 04:25 EST --
We want to test it in rawhide and if there isn't any problem, we'll update it to

Comment 5 Red Hat Bugzilla 2006-03-15 15:43:51 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

Note You need to log in before you can comment on or make changes to this bug.