Bug 9952 - /etc/nsswitch.conf should not use nis or nisplus by default
/etc/nsswitch.conf should not use nis or nisplus by default
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: glibc (Show other bugs)
6.2
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-03-04 00:20 EST by Matthew Miller
Modified: 2016-11-24 10:21 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-04-21 19:56:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Matthew Miller 2000-03-04 00:20:50 EST
The default /etc/nsswitch.conf should not use nis or (worse) nisplus by
default. I think that these days these services are used by only a minority
of Red Hat customers. While not necessarily a security issue, everyone
else's systems really shouldn't be configured to be looking.

This is going to become a serious performance issue under the 2.4 kernels.
Check out this bit on LWN http://lwn.net/2000/0224/kernel.phtml for more
info.

Solaris provides /etc/nsswitch.files, /etc/nsswitch.nis, and
/etc/nsswitch.nisplus example files by default -- that seems like a nice
way to go.

It'd be nice to seperate /etc/nsswitch.conf from the glibc package -- this
might make it easier to deal with.

Another random suggestion -- perhaps the /etc/nsswitch.nis file could be
automagically put in place by the nis/yp init scripts if nis is turned on
and the /etc/nsswitch.conf hasn't already been modified from the default
files-only config.
Comment 1 Cristian Gafton 2000-05-22 10:52:59 EDT
assign to jakub
Comment 2 Stephen John Smoogen 2003-01-24 18:39:38 EST
This is an RFE for probably extra functionality in the redhat-config-network
tool. It might be better to open this as a new bug as the 'time-cruft' has
gotten it covered in cobwebs
Comment 3 Ulrich Drepper 2003-04-21 19:56:21 EDT
RHL9 does not add nisplus (or nis) ro nsswitch.conf by default.

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