<?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 Login profile in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/login-profile/m-p/3283569#M180891</link>
    <description>How do I get the system to display the last successful login and the last unsuccessful login when a user is logging in to a system?</description>
    <pubDate>Fri, 21 May 2004 13:55:25 GMT</pubDate>
    <dc:creator>Angela Swyers_1</dc:creator>
    <dc:date>2004-05-21T13:55:25Z</dc:date>
    <item>
      <title>Login profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-profile/m-p/3283569#M180891</link>
      <description>How do I get the system to display the last successful login and the last unsuccessful login when a user is logging in to a system?</description>
      <pubDate>Fri, 21 May 2004 13:55:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-profile/m-p/3283569#M180891</guid>
      <dc:creator>Angela Swyers_1</dc:creator>
      <dc:date>2004-05-21T13:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Login profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-profile/m-p/3283570#M180892</link>
      <description>use lastb to get the last bad logins&lt;BR /&gt;/usr/bin/lastb -3 ${LOGNAME}&lt;BR /&gt;&lt;BR /&gt;use last for sucessful logins</description>
      <pubDate>Fri, 21 May 2004 13:59:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-profile/m-p/3283570#M180892</guid>
      <dc:creator>curt larson_1</dc:creator>
      <dc:date>2004-05-21T13:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Login profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-profile/m-p/3283571#M180893</link>
      <description>"last" and "lastb"</description>
      <pubDate>Fri, 21 May 2004 13:59:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-profile/m-p/3283571#M180893</guid>
      <dc:creator>Michael Denney</dc:creator>
      <dc:date>2004-05-21T13:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Login profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-profile/m-p/3283572#M180894</link>
      <description>Hi Again,&lt;BR /&gt;&lt;BR /&gt;# lastb -R&lt;BR /&gt;&lt;BR /&gt;This works fine.&lt;BR /&gt;&lt;BR /&gt;All the best.</description>
      <pubDate>Fri, 21 May 2004 14:00:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-profile/m-p/3283572#M180894</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-05-21T14:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Login profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-profile/m-p/3283573#M180895</link>
      <description>'last' command for good login and 'lastb' for bad logins!&lt;BR /&gt;&lt;BR /&gt;-USA..</description>
      <pubDate>Fri, 21 May 2004 14:01:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-profile/m-p/3283573#M180895</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2004-05-21T14:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Login profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-profile/m-p/3283574#M180896</link>
      <description>If you wanted it for all users, then you would use the last and lastb commands is /etc/profile&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;last -1 ${LOGNAME}&lt;BR /&gt;lastb -1 ${LOGNAME}</description>
      <pubDate>Fri, 21 May 2004 14:16:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-profile/m-p/3283574#M180896</guid>
      <dc:creator>Marvin Strong</dc:creator>
      <dc:date>2004-05-21T14:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Login profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-profile/m-p/3283575#M180897</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If your system is trusted, this info is automatically displayed whenever the user logs in.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Fri, 21 May 2004 14:18:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-profile/m-p/3283575#M180897</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-05-21T14:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Login profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-profile/m-p/3283576#M180898</link>
      <description>Actually, last -1 ${LOGNAME} doesn't really tell you the last successful login... it tells you the current successful login in this case (since the user is the one specified by ${LOGNAME}). I think you'd actually want to do something like this:&lt;BR /&gt;&lt;BR /&gt;last -2 ${LOGNAME} | tail -1</description>
      <pubDate>Fri, 21 May 2004 14:24:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-profile/m-p/3283576#M180898</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2004-05-21T14:24:52Z</dc:date>
    </item>
  </channel>
</rss>

