<?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: Email notification on interactive logins? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/email-notification-on-interactive-logins/m-p/5007978#M739271</link>
    <description>The obvious is the hardest to see at times :)&lt;BR /&gt;&lt;BR /&gt;I wanted to log every login and it's the easiest to do it in the login process :)&lt;BR /&gt;&lt;BR /&gt;I put it in /etc/profile, and also check the SSH_CONNECTION and like variables.</description>
    <pubDate>Fri, 13 Oct 2006 09:01:34 GMT</pubDate>
    <dc:creator>Florian Heigl (new acc)</dc:creator>
    <dc:date>2006-10-13T09:01:34Z</dc:date>
    <item>
      <title>Email notification on interactive logins?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/email-notification-on-interactive-logins/m-p/5007975#M739268</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;suppose a host that only needs interactive login for maintainance purposes (estimate is something like 3 logins per month), and I'd like to make the host send out an email to the two groups of users that are allowed to log on instantly when a login occurs.&lt;BR /&gt;&lt;BR /&gt;access can be via either ssh or the gsp, and I don't know where a hook for doing this exists.&lt;BR /&gt;&lt;BR /&gt;I think about using the 'users' monitor in EMS, but I'm not sure if it's the right thing [tm].&lt;BR /&gt;&lt;BR /&gt;Does someone have alternative ideas / experiences for me?&lt;BR /&gt;&lt;BR /&gt;Florian</description>
      <pubDate>Wed, 11 Oct 2006 09:13:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/email-notification-on-interactive-logins/m-p/5007975#M739268</guid>
      <dc:creator>Florian Heigl (new acc)</dc:creator>
      <dc:date>2006-10-11T09:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Email notification on interactive logins?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/email-notification-on-interactive-logins/m-p/5007976#M739269</link>
      <description>Why not just put an entry in /etc/profile or the user id's .profile to send an e-mail when a login happens?&lt;BR /&gt;&lt;BR /&gt;This will work no matter how the login occurrs, be it from the console (via GSP lan console or whatever) or ssh or telnet.&lt;BR /&gt;&lt;BR /&gt;I have not looked at the 'users' EMS monitor, so I can't give you much insight on that.</description>
      <pubDate>Wed, 11 Oct 2006 09:26:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/email-notification-on-interactive-logins/m-p/5007976#M739269</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2006-10-11T09:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Email notification on interactive logins?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/email-notification-on-interactive-logins/m-p/5007977#M739270</link>
      <description>On my linux server I have this at the end of root's .bash_profile:&lt;BR /&gt;&lt;BR /&gt;echo "tail messages..." &amp;gt; logfile&lt;BR /&gt;tail /var/log/messages &amp;gt;&amp;gt; logfile&lt;BR /&gt;echo "who?" &amp;gt;&amp;gt; logfile&lt;BR /&gt;who -u &amp;gt;&amp;gt; logfile&lt;BR /&gt;mail -s "ROOT SIGNING IN..." gjwild@mydomain.ca &amp;lt; logfile&lt;BR /&gt;&lt;BR /&gt;mesg n&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 11 Oct 2006 10:34:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/email-notification-on-interactive-logins/m-p/5007977#M739270</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-10-11T10:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Email notification on interactive logins?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/email-notification-on-interactive-logins/m-p/5007978#M739271</link>
      <description>The obvious is the hardest to see at times :)&lt;BR /&gt;&lt;BR /&gt;I wanted to log every login and it's the easiest to do it in the login process :)&lt;BR /&gt;&lt;BR /&gt;I put it in /etc/profile, and also check the SSH_CONNECTION and like variables.</description>
      <pubDate>Fri, 13 Oct 2006 09:01:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/email-notification-on-interactive-logins/m-p/5007978#M739271</guid>
      <dc:creator>Florian Heigl (new acc)</dc:creator>
      <dc:date>2006-10-13T09:01:34Z</dc:date>
    </item>
  </channel>
</rss>

