<?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 Write a record in syslog when a user logs out in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/write-a-record-in-syslog-when-a-user-logs-out/m-p/4478095#M362191</link>
    <description>We are using Secure Shell. Currently ssh logins are logged to syslog like this:&lt;BR /&gt;&lt;BR /&gt;Aug 12 16:57:12 tsrsrv sshd[7787]: Accepted keyboard-interactive/pam for user1 from 10.x.y.z port 1029 ssh2&lt;BR /&gt;&lt;BR /&gt;I want to have a similar record in syslog when a user logs out.&lt;BR /&gt;&lt;BR /&gt;Not: In the future we are planning to send some syslog records to a separate machine (= a syslog server), so I currently need to record such events in syslog.</description>
    <pubDate>Wed, 12 Aug 2009 13:07:43 GMT</pubDate>
    <dc:creator>Fedon Kadifeli</dc:creator>
    <dc:date>2009-08-12T13:07:43Z</dc:date>
    <item>
      <title>Write a record in syslog when a user logs out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-a-record-in-syslog-when-a-user-logs-out/m-p/4478095#M362191</link>
      <description>We are using Secure Shell. Currently ssh logins are logged to syslog like this:&lt;BR /&gt;&lt;BR /&gt;Aug 12 16:57:12 tsrsrv sshd[7787]: Accepted keyboard-interactive/pam for user1 from 10.x.y.z port 1029 ssh2&lt;BR /&gt;&lt;BR /&gt;I want to have a similar record in syslog when a user logs out.&lt;BR /&gt;&lt;BR /&gt;Not: In the future we are planning to send some syslog records to a separate machine (= a syslog server), so I currently need to record such events in syslog.</description>
      <pubDate>Wed, 12 Aug 2009 13:07:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-a-record-in-syslog-when-a-user-logs-out/m-p/4478095#M362191</guid>
      <dc:creator>Fedon Kadifeli</dc:creator>
      <dc:date>2009-08-12T13:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Write a record in syslog when a user logs out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-a-record-in-syslog-when-a-user-logs-out/m-p/4478096#M362192</link>
      <description>take a look at "logger".  you can use that, along w/ "exit" traps in the profile to catch / log the logouts.</description>
      <pubDate>Wed, 12 Aug 2009 16:21:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-a-record-in-syslog-when-a-user-logs-out/m-p/4478096#M362192</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-08-12T16:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Write a record in syslog when a user logs out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-a-record-in-syslog-when-a-user-logs-out/m-p/4478097#M362193</link>
      <description>It turns out that the sshd_config directive&lt;BR /&gt;&lt;BR /&gt;LogLevel VERBOSE&lt;BR /&gt;&lt;BR /&gt;answers my question. Now we have the following in syslog:&lt;BR /&gt;&lt;BR /&gt;Aug 13 10:00:36 tsrsrv sshd[23928]: Connection closed by 10.x.y.z&lt;BR /&gt;Aug 13 10:00:36 tsrsrv sshd[23928]: Closing connection to 10.x.y.z&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Aug 2009 06:48:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-a-record-in-syslog-when-a-user-logs-out/m-p/4478097#M362193</guid>
      <dc:creator>Fedon Kadifeli</dc:creator>
      <dc:date>2009-08-13T06:48:04Z</dc:date>
    </item>
  </channel>
</rss>

