<?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 root history in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/root-history/m-p/4277499#M335028</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;What is the path of root history&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Rkumar</description>
    <pubDate>Mon, 29 Sep 2008 07:03:54 GMT</pubDate>
    <dc:creator>Waugh</dc:creator>
    <dc:date>2008-09-29T07:03:54Z</dc:date>
    <item>
      <title>root history</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-history/m-p/4277499#M335028</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;What is the path of root history&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Rkumar</description>
      <pubDate>Mon, 29 Sep 2008 07:03:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-history/m-p/4277499#M335028</guid>
      <dc:creator>Waugh</dc:creator>
      <dc:date>2008-09-29T07:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: root history</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-history/m-p/4277500#M335029</link>
      <description>Normal is in root home directory. Check .profile or /etc/profile if it's modified to another location.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Mon, 29 Sep 2008 07:28:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-history/m-p/4277500#M335029</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2008-09-29T07:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: root history</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-history/m-p/4277501#M335030</link>
      <description>normally it was not activated. but the .profile or /etc/profile or any other location of the root's profile can show you its history location.</description>
      <pubDate>Mon, 29 Sep 2008 08:44:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-history/m-p/4277501#M335030</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2008-09-29T08:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: root history</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-history/m-p/4277502#M335031</link>
      <description>If my understanding is right, you are asking for 'Shell History file" for root user.&lt;BR /&gt;&lt;BR /&gt;Login as root&lt;BR /&gt;#echo $HISTFILE  will show the path&lt;BR /&gt;&lt;BR /&gt;Normally set it to /.sh_history&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Sreekanth</description>
      <pubDate>Mon, 29 Sep 2008 08:54:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-history/m-p/4277502#M335031</guid>
      <dc:creator>sreekanthtm</dc:creator>
      <dc:date>2008-09-29T08:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: root history</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-history/m-p/4277503#M335032</link>
      <description>root's shell history must be manually enabled. The root shell must always be /sbin/sh and to enable the shell history, add these variables to /etc/profile:&lt;BR /&gt;  &lt;BR /&gt;export HISTFILE=$HOME/.sh_history&lt;BR /&gt;export HISTSIZE=5000&lt;BR /&gt;export EDITOR=/usr/bin/vi&lt;BR /&gt; &lt;BR /&gt;Then create the history file by logging in as root and type:&lt;BR /&gt; &lt;BR /&gt;touch $HOME/.sh_history&lt;BR /&gt; &lt;BR /&gt;Now logout and login again. Type any command such as ls, then type: ESC k CR (no spaces) where ESC=escape key, k is the letter k and CR is the Return or Enter key.</description>
      <pubDate>Mon, 29 Sep 2008 15:26:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-history/m-p/4277503#M335032</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-09-29T15:26:33Z</dc:date>
    </item>
  </channel>
</rss>

