<?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 user command history in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/user-command-history/m-p/4667476#M41732</link>
    <description>&lt;BR /&gt;In our EDP department , administrators have root password , I want to know what command that they have used , I checked /root/.bash_history and use the up arrow key to check , but only found a part of information , can advise if I want to keep all comamnd that all root user have run in the server , what can i do ? besides , if possible , if I want to have the date/time that the user run the command , what can i do ? thx</description>
    <pubDate>Thu, 29 Jul 2010 03:50:49 GMT</pubDate>
    <dc:creator>ivy1234</dc:creator>
    <dc:date>2010-07-29T03:50:49Z</dc:date>
    <item>
      <title>user command history</title>
      <link>https://community.hpe.com/t5/operating-system-linux/user-command-history/m-p/4667476#M41732</link>
      <description>&lt;BR /&gt;In our EDP department , administrators have root password , I want to know what command that they have used , I checked /root/.bash_history and use the up arrow key to check , but only found a part of information , can advise if I want to keep all comamnd that all root user have run in the server , what can i do ? besides , if possible , if I want to have the date/time that the user run the command , what can i do ? thx</description>
      <pubDate>Thu, 29 Jul 2010 03:50:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/user-command-history/m-p/4667476#M41732</guid>
      <dc:creator>ivy1234</dc:creator>
      <dc:date>2010-07-29T03:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: user command history</title>
      <link>https://community.hpe.com/t5/operating-system-linux/user-command-history/m-p/4667477#M41733</link>
      <description>Hello.&lt;BR /&gt;&lt;BR /&gt;Check the man page for bash, in particular these two variables:&lt;BR /&gt;&lt;BR /&gt;HISTFILESIZE&lt;BR /&gt;HISTTIMEFORMAT&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Goran</description>
      <pubDate>Thu, 29 Jul 2010 04:06:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/user-command-history/m-p/4667477#M41733</guid>
      <dc:creator>Goran Koruga</dc:creator>
      <dc:date>2010-07-29T04:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: user command history</title>
      <link>https://community.hpe.com/t5/operating-system-linux/user-command-history/m-p/4667478#M41734</link>
      <description>You may want to investigate a culture shift away from using "naked" root by your administrators, to using sudo.</description>
      <pubDate>Fri, 30 Jul 2010 07:33:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/user-command-history/m-p/4667478#M41734</guid>
      <dc:creator>Ron Barak</dc:creator>
      <dc:date>2010-07-30T07:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: user command history</title>
      <link>https://community.hpe.com/t5/operating-system-linux/user-command-history/m-p/4667479#M41735</link>
      <description>You can configure sudo to restrict the access level.&lt;BR /&gt;To monitor the commands used by the root &lt;BR /&gt;Add this parameter in .bash_profile of user/root. You can change the HISTFILE path to your desire directory. We have chosen /root as it is home directory for root  &lt;BR /&gt;&lt;BR /&gt;HISTSIZE=500&lt;BR /&gt;HISTFILE=/root/.sh_history&lt;BR /&gt;export HISTSIZE HISTFILE&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Jul 2010 18:05:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/user-command-history/m-p/4667479#M41735</guid>
      <dc:creator>Ishwar_1</dc:creator>
      <dc:date>2010-07-30T18:05:58Z</dc:date>
    </item>
  </channel>
</rss>

