Bug 9122 - Files may be accidentaly deleted when NIS domain name is set to an invalid value
Summary: Files may be accidentaly deleted when NIS domain name is set to an invalid value
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: ypbind
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-02-04 15:39 UTC by Marius Larsen Jxhndal
Modified: 2008-05-01 15:37 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2000-02-04 16:16:27 UTC


Attachments (Terms of Use)

Description Marius Larsen Jxhndal 2000-02-04 15:39:13 UTC
This is more a user error than it is a bug, but it still made me wipe all
of /etc/rc.d/init.d/ by accident on my company's NIS server. When stopping
ypbind, the command

  rm -f /var/yp/binding/$(domainname)*

is executed. Imagine what happened when I made the incredibly stupid
mistake of setting the NIS domain name to " " (that is one single
space)...

Comment 1 Nalin Dahyabhai 2000-02-04 16:16:59 UTC
This should be fixed in ypbind-3.3-26 and later.  Thanks for the suggestion.


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