<?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: visiting a directory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/visiting-a-directory/m-p/3582202#M833006</link>
    <description>One option might be:&lt;BR /&gt;&lt;BR /&gt;Add script log_file&lt;BR /&gt;at the end of .profile of all users.&lt;BR /&gt;&lt;BR /&gt;Now whatever they will do will be recorded in it.&lt;BR /&gt;&lt;BR /&gt;At the end you can do&lt;BR /&gt;grep Path_to_check log_file</description>
    <pubDate>Wed, 13 Jul 2005 22:58:08 GMT</pubDate>
    <dc:creator>Vibhor Kumar Agarwal</dc:creator>
    <dc:date>2005-07-13T22:58:08Z</dc:date>
    <item>
      <title>visiting a directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/visiting-a-directory/m-p/3582198#M833002</link>
      <description>Dear Sirs,&lt;BR /&gt;&lt;BR /&gt;Is there a way to find out whether any particular user has read a file or visited a particular directory ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shiv</description>
      <pubDate>Wed, 13 Jul 2005 20:59:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/visiting-a-directory/m-p/3582198#M833002</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2005-07-13T20:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: visiting a directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/visiting-a-directory/m-p/3582199#M833003</link>
      <description>Hi Shiv,&lt;BR /&gt;&lt;BR /&gt;You can turn on the history for this purpose. Check the thread at this url below :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums2.itrc.hp.com/service/forums/questionanswer.do?threadId=865864" target="_blank"&gt;http://forums2.itrc.hp.com/service/forums/questionanswer.do?threadId=865864&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this can help you.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;AW</description>
      <pubDate>Wed, 13 Jul 2005 21:08:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/visiting-a-directory/m-p/3582199#M833003</guid>
      <dc:creator>Adisuria Wangsadinata_1</dc:creator>
      <dc:date>2005-07-13T21:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: visiting a directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/visiting-a-directory/m-p/3582200#M833004</link>
      <description>Yes, if you truned on the history then you can view the .sh_history fiel to see the recent commands executed by a particular user. &lt;BR /&gt;&lt;BR /&gt;This file exists in the user's home direcotry.&lt;BR /&gt;&lt;BR /&gt;IA</description>
      <pubDate>Wed, 13 Jul 2005 21:15:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/visiting-a-directory/m-p/3582200#M833004</guid>
      <dc:creator>Indira Aramandla</dc:creator>
      <dc:date>2005-07-13T21:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: visiting a directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/visiting-a-directory/m-p/3582201#M833005</link>
      <description>Otherway is to enable the accounting on the system using SAM you can do that.&lt;BR /&gt;But remember to have enough space in /var as it will grow your log file to huge size.&lt;BR /&gt;Have a look at the man pages of acct(1M)&lt;BR /&gt;man 1m acct&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Rajeev</description>
      <pubDate>Wed, 13 Jul 2005 21:24:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/visiting-a-directory/m-p/3582201#M833005</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2005-07-13T21:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: visiting a directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/visiting-a-directory/m-p/3582202#M833006</link>
      <description>One option might be:&lt;BR /&gt;&lt;BR /&gt;Add script log_file&lt;BR /&gt;at the end of .profile of all users.&lt;BR /&gt;&lt;BR /&gt;Now whatever they will do will be recorded in it.&lt;BR /&gt;&lt;BR /&gt;At the end you can do&lt;BR /&gt;grep Path_to_check log_file</description>
      <pubDate>Wed, 13 Jul 2005 22:58:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/visiting-a-directory/m-p/3582202#M833006</guid>
      <dc:creator>Vibhor Kumar Agarwal</dc:creator>
      <dc:date>2005-07-13T22:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: visiting a directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/visiting-a-directory/m-p/3582203#M833007</link>
      <description>Hi Shiv&lt;BR /&gt;&lt;BR /&gt;First option is to turn on history&lt;BR /&gt;&lt;BR /&gt;Second one is use auditing if your hpux OS environment is in Trusted (secured) mode then auditing feature will enable you to browse through system activities&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Mahesh</description>
      <pubDate>Thu, 14 Jul 2005 00:28:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/visiting-a-directory/m-p/3582203#M833007</guid>
      <dc:creator>Mahesh Kumar Malik</dc:creator>
      <dc:date>2005-07-14T00:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: visiting a directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/visiting-a-directory/m-p/3582204#M833008</link>
      <description>You can try with shell wrapper as,&lt;BR /&gt;&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;CD=/usr/bin/cd&lt;BR /&gt;&lt;BR /&gt;(&lt;BR /&gt;printf "$(date) $LOGNAME OLDDIR=$PWD ";&lt;BR /&gt;${CD} $@&lt;BR /&gt;printf "NEWDIR=$PWD\n"&lt;BR /&gt;) &amp;gt;&amp;gt; /tmp/cdlog.$(date +'%b_%d_%y')&lt;BR /&gt;&lt;BR /&gt;exit 0&lt;BR /&gt;# END #&lt;BR /&gt;&lt;BR /&gt;Put this file in /usr/sbin/cd&lt;BR /&gt;# chmod 755 /usr/sbin/cd&lt;BR /&gt;# chown bin:bin /usr/sbin/cd&lt;BR /&gt;&lt;BR /&gt;Put this in /etc/profile file.&lt;BR /&gt;# alias cd='/usr/sbin/cd'&lt;BR /&gt;&lt;BR /&gt;You can see log files are created in /tmp/cdlog.&lt;DATE&gt; with informations.&lt;BR /&gt;&lt;BR /&gt;hth.&lt;/DATE&gt;</description>
      <pubDate>Thu, 14 Jul 2005 01:24:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/visiting-a-directory/m-p/3582204#M833008</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-07-14T01:24:31Z</dc:date>
    </item>
  </channel>
</rss>

