<?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 Log about login users and log about script execution in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/log-about-login-users-and-log-about-script-execution/m-p/3791565#M265124</link>
    <description>Hi,&lt;BR /&gt;i need to know the time that an user logged in my server and the time that he/she left it.&lt;BR /&gt;Also, how to know (or where) about the time that a specific script was executed ...&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Christian</description>
    <pubDate>Fri, 19 May 2006 15:26:35 GMT</pubDate>
    <dc:creator>Christian Aguilar Varga</dc:creator>
    <dc:date>2006-05-19T15:26:35Z</dc:date>
    <item>
      <title>Log about login users and log about script execution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-about-login-users-and-log-about-script-execution/m-p/3791565#M265124</link>
      <description>Hi,&lt;BR /&gt;i need to know the time that an user logged in my server and the time that he/she left it.&lt;BR /&gt;Also, how to know (or where) about the time that a specific script was executed ...&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Christian</description>
      <pubDate>Fri, 19 May 2006 15:26:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-about-login-users-and-log-about-script-execution/m-p/3791565#M265124</guid>
      <dc:creator>Christian Aguilar Varga</dc:creator>
      <dc:date>2006-05-19T15:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Log about login users and log about script execution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-about-login-users-and-log-about-script-execution/m-p/3791566#M265125</link>
      <description>You can check users login and logout times by using the 'last' command.&lt;BR /&gt;&lt;BR /&gt;# last &lt;USERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;will give all instances of a users logons.&lt;BR /&gt;&lt;BR /&gt;# man last &lt;BR /&gt;&lt;BR /&gt;for more details.&lt;BR /&gt;&lt;BR /&gt;As to when a script was executed -- If it was from someones session, that is going to be almost impossible to tell.  That kind of information is not kept anywhere.&lt;/USERNAME&gt;</description>
      <pubDate>Fri, 19 May 2006 16:02:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-about-login-users-and-log-about-script-execution/m-p/3791566#M265125</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2006-05-19T16:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Log about login users and log about script execution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-about-login-users-and-log-about-script-execution/m-p/3791567#M265126</link>
      <description>From a normal shell login, you can enable a log of the commands issued by the user. Just put this into /etc/profile:&lt;BR /&gt; &lt;BR /&gt;export HISTFILE=~/.sh_history&lt;BR /&gt; &lt;BR /&gt;Now each command the user types will be logged. The size of the file can also be controlled in /etc/profile:&lt;BR /&gt; &lt;BR /&gt;export HISTSIZE=1000&lt;BR /&gt; &lt;BR /&gt;It sounds like you are having problems with users, either they are not properly trained or they are getting into trouble. That is a sure sign that these users should be getting a shell prompt but instead are given a special menu script to limit their capability.</description>
      <pubDate>Fri, 19 May 2006 16:32:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-about-login-users-and-log-about-script-execution/m-p/3791567#M265126</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-05-19T16:32:05Z</dc:date>
    </item>
  </channel>
</rss>

