<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: /dev/null changes to ordinary file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-null-changes-to-ordinary-file/m-p/5325963#M475683</link>
    <description>&lt;P&gt;If JRF's suggestions don't help you find the cause, you may have to turn on auditing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also look at the time stamp of /dev to see when null was removed: ll -d /dev&lt;/P&gt;</description>
    <pubDate>Thu, 08 Sep 2011 16:05:41 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2011-09-08T16:05:41Z</dc:date>
    <item>
      <title>/dev/null changes to ordinary file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-null-changes-to-ordinary-file/m-p/5324757#M475654</link>
      <description>&lt;P&gt;could you guys help me to create a script to check which process is modifying /dev/null from a character device to an ordinary file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance!!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2011 17:15:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-null-changes-to-ordinary-file/m-p/5324757#M475654</guid>
      <dc:creator>Patricio Besteiro</dc:creator>
      <dc:date>2011-09-07T17:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/null changes to ordinary file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-null-changes-to-ordinary-file/m-p/5324793#M475655</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The 'root' user should be the only one capable of removing '/dev/null'.&amp;nbsp; The recreation is likely a consequence of a subsequent redirection to '/dev/null' after the device file has been removed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You might be able to pin-point the time and by inference the person responsible by looking at a command history ('${HOME}/.sh_history').&amp;nbsp; You should also examine all scripts that 'root' runs (e.g. crontasks) to look for errant 'rm' commands.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...JRF...&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2011 17:48:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-null-changes-to-ordinary-file/m-p/5324793#M475655</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2011-09-07T17:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/null changes to ordinary file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-null-changes-to-ordinary-file/m-p/5325963#M475683</link>
      <description>&lt;P&gt;If JRF's suggestions don't help you find the cause, you may have to turn on auditing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also look at the time stamp of /dev to see when null was removed: ll -d /dev&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2011 16:05:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-null-changes-to-ordinary-file/m-p/5325963#M475683</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-09-08T16:05:41Z</dc:date>
    </item>
  </channel>
</rss>

