Bug 44805
Summary: | shadow + MINUID option broken | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Gerald Teschl <gt> |
Component: | ypserv | Assignee: | Florian La Roche <laroche> |
Status: | CLOSED RAWHIDE | QA Contact: | Aaron Brown <abrown> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | Keywords: | Security |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-07-06 19:21:14 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Gerald Teschl
2001-06-17 08:47:13 UTC
/var/yp/Makefile should not build a shadow map by default in Red Hat Linux. It also doesn;t make sense to distribute an extra shadow map for more security. You should use kerberos together with yp for this. It does make sense since with a shadow map ordinary users will not be able to see the encrypted password! The following change to /var/yp/Makefile will fix the problem: --- Makefile.orig Fri Jul 6 21:09:04 2001 +++ Makefile Fri Jul 6 21:14:04 2001 @@ -300,7 +300,7 @@ shadow.byname: $(SHADOW) $(YPDIR)/Makefile @echo "Updating $@..." @$(UMASK); \ - $(AWK) -F: '!/^[-+#]/ { if ($$1 != "" ) print $$1"\t"$$0 }' \ + $(AWK) -F: '!/^[-+#]/ { if ($$1 != "" && system("test ` id -u "$$1"` -lt $(MINUID)")) print $$1"\t"$$0 }' \ $(SHADOW) | $(DBLOAD) -s -i $(SHADOW) -o $(YPMAPDIR)/$@ - $@ -@$(NOPUSH) || $(YPPUSH) -d $(DOMAIN) $@ endif Please look at 1.3.12-1 on rawhide shortly. Florian La Roche |