<?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: Tracking rm and/or .sh_history in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-rm-and-or-sh-history/m-p/3592283#M827862</link>
    <description>See Bill's response (Nov 27, 2001 21:40:52) in &lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=113459" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=113459&lt;/A&gt;</description>
    <pubDate>Thu, 28 Jul 2005 18:56:51 GMT</pubDate>
    <dc:creator>Cheryl Griffin</dc:creator>
    <dc:date>2005-07-28T18:56:51Z</dc:date>
    <item>
      <title>Tracking rm and/or .sh_history</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-rm-and-or-sh-history/m-p/3592282#M827861</link>
      <description>Is there a way to script something to track all rm, redirects, mv ... any command that could delete or change a file?  What about getting .sh_history if it is altered with?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 28 Jul 2005 18:21:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tracking-rm-and-or-sh-history/m-p/3592282#M827861</guid>
      <dc:creator>TheJuiceman</dc:creator>
      <dc:date>2005-07-28T18:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking rm and/or .sh_history</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-rm-and-or-sh-history/m-p/3592283#M827862</link>
      <description>See Bill's response (Nov 27, 2001 21:40:52) in &lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=113459" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=113459&lt;/A&gt;</description>
      <pubDate>Thu, 28 Jul 2005 18:56:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tracking-rm-and-or-sh-history/m-p/3592283#M827862</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2005-07-28T18:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking rm and/or .sh_history</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-rm-and-or-sh-history/m-p/3592284#M827863</link>
      <description>One more option,&lt;BR /&gt;&lt;BR /&gt;Just write the command&lt;BR /&gt;script logfile&lt;BR /&gt;in .profile of all users.&lt;BR /&gt;&lt;BR /&gt;Not all that the users will write will go into that logfile.</description>
      <pubDate>Fri, 29 Jul 2005 03:37:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tracking-rm-and-or-sh-history/m-p/3592284#M827863</guid>
      <dc:creator>Vibhor Kumar Agarwal</dc:creator>
      <dc:date>2005-07-29T03:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking rm and/or .sh_history</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-rm-and-or-sh-history/m-p/3592285#M827864</link>
      <description>You can put a script in /etc/profile for generating history of separarte users as like,&lt;BR /&gt;&lt;BR /&gt;# Create a directory like,&lt;BR /&gt;mkdir /var/history&lt;BR /&gt;&lt;BR /&gt;-- /etc/profile --&lt;BR /&gt;set -o $EDITOR&lt;BR /&gt;export HISTFILE=/var/history/.history_${LOGNAME}&lt;BR /&gt;export HISTSIZE=1000&lt;BR /&gt;&lt;BR /&gt;Another way,&lt;BR /&gt;you have to put shell wrapper for generating individual logs for rm, mv commands. Like cd command in,&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=939679" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=939679&lt;/A&gt;&lt;BR /&gt;write a wrapper for yours.&lt;BR /&gt;&lt;BR /&gt;hth.</description>
      <pubDate>Fri, 29 Jul 2005 03:58:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tracking-rm-and-or-sh-history/m-p/3592285#M827864</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-07-29T03:58:44Z</dc:date>
    </item>
  </channel>
</rss>

