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 162660

Summary: pam authentication fails
Product: Red Hat Enterprise Linux 4 Reporter: Andrew Meredith <andrew>
Component: squidAssignee: Martin Stransky <stransky>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: RHSA-2006-0052 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-03-07 18:50:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 168429, 170397    

Description Andrew Meredith 2005-07-07 11:22:41 UTC
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.

Comment 1 Andrew Meredith 2005-07-07 11:24:41 UTC


Comment 2 Martin Stransky 2005-07-07 11:38:49 UTC
You are right, but we want to avoid using setuid. I'll be working on it.

Comment 3 Martin Stransky 2005-07-15 14:05:21 UTC
pam_auth and ncsa_auth have setuid in rawhide...

Comment 4 Andrew Meredith 2005-07-15 21:56:56 UTC

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

Comment 5 Martin Stransky 2005-07-18 08:25:00 UTC
We want to test it in rawhide and if there isn't any problem, we'll update it to

Comment 7 Martin Stransky 2005-11-15 12:27:30 UTC
The new release-candidate packages for RHEL3/4 are available here:

Comment 8 Andrew Meredith 2005-11-22 14:02:52 UTC
Upgrade ran without flaw.

Thanks Martin.

Comment 10 Red Hat Bugzilla 2006-03-07 18:50:11 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.