Bug 846953

Summary: sudo-1.7.2p1-14.el5_8.2.x86_64.rpm breaks ypbind
Product: Red Hat Enterprise Linux 5 Reporter: Jan Kees <j.k.vanamerongen>
Component: sudoAssignee: Daniel Kopeček <dkopecek>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.8CC: dkopecek, ykinoshi
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-09 09:05:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Kees 2012-08-09 09:00:42 UTC
Description of problem:
After updating to sudo-1.7.2p1-14.el5_8.2.x86_64.rpm the file access permissions of /etc/nsswitch.conf are changed to 600, making the file only readable to root.
If you are using NIS and you have entries like " 
passwd:     files nis" in /etc/nsswitch.conf, ordinary users can no longer "see" those entries. Causing errors like:
"id: cannot find name for user ID 1000"
and a prompt like:
I have no name!@localhost

Changing the file access permissions of /etc/nsswitch.conf back to 644 solves this problem

Version-Release number of selected component (if applicable):
sudo-1.7.2p1-14.el5_8.2.x86_64.rpm

How reproducible:
always

Steps to Reproduce:
1. update to sudo-1.7.2p1-14.el5_8.2
2.
3.
  
Actual results:
Users get errors like:
id: cannot find name for user ID 1000

Expected results:
no errors

Additional info:
To solve this problem do
chmod 644 /etc/nsswitch.conf
after updating sudo to 1.7.2p1-14.el5_8.2

Comment 1 Daniel Kopeček 2012-08-09 09:05:29 UTC

*** This bug has been marked as a duplicate of bug 846631 ***