<?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: User logon in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/user-logon/m-p/2807543#M83455</link>
    <description>&lt;BR /&gt;Do you have a "trusted" system? If you do you could have passwd aging on and when they call to have their account reactivated then you know.&lt;BR /&gt;&lt;BR /&gt;You could use "last".&lt;BR /&gt;&lt;BR /&gt;Or you could list the .profiles in their home directories to see if it's been opened.&lt;BR /&gt;&lt;BR /&gt;I'd suggest looking at this thread &lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x026250011d20d6118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x026250011d20d6118ff40090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
    <pubDate>Tue, 17 Sep 2002 10:06:06 GMT</pubDate>
    <dc:creator>harry d brown jr</dc:creator>
    <dc:date>2002-09-17T10:06:06Z</dc:date>
    <item>
      <title>User logon</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-logon/m-p/2807541#M83453</link>
      <description>How can I find out all users who did not login for certain time.</description>
      <pubDate>Tue, 17 Sep 2002 09:51:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-logon/m-p/2807541#M83453</guid>
      <dc:creator>Fuad_1</dc:creator>
      <dc:date>2002-09-17T09:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: User logon</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-logon/m-p/2807542#M83454</link>
      <description>You can use the "last" command.&lt;BR /&gt;Probably loop through all valid users ( see "man users"). Get the most recent login for each user and see if it is later than your time interval.&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Sep 2002 10:01:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-logon/m-p/2807542#M83454</guid>
      <dc:creator>Deepak Extross</dc:creator>
      <dc:date>2002-09-17T10:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: User logon</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-logon/m-p/2807543#M83455</link>
      <description>&lt;BR /&gt;Do you have a "trusted" system? If you do you could have passwd aging on and when they call to have their account reactivated then you know.&lt;BR /&gt;&lt;BR /&gt;You could use "last".&lt;BR /&gt;&lt;BR /&gt;Or you could list the .profiles in their home directories to see if it's been opened.&lt;BR /&gt;&lt;BR /&gt;I'd suggest looking at this thread &lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x026250011d20d6118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x026250011d20d6118ff40090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Tue, 17 Sep 2002 10:06:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-logon/m-p/2807543#M83455</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-09-17T10:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: User logon</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-logon/m-p/2807544#M83456</link>
      <description>using finger:&lt;BR /&gt;-------------&lt;BR /&gt;for i in $(cat /etc/passwd | cut -d: -f1)&lt;BR /&gt;do&lt;BR /&gt;finger $i| grep Never| xargs echo $i | grep Never&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;or using last&lt;BR /&gt;-------------&lt;BR /&gt;&lt;BR /&gt;OPTIONS=""&lt;BR /&gt;OPTIONS=$#&lt;BR /&gt;&lt;BR /&gt;echo "" &amp;gt; /tmp/there.loggedin$$&lt;BR /&gt;cat /etc/passwd |  cut -d: -f 1 | sort &amp;gt; /tmp/passwd.users$$&lt;BR /&gt;&lt;BR /&gt;for i in $(last $OPTIONS | awk {'print $1'} | sort | uniq)&lt;BR /&gt;do&lt;BR /&gt; grep $i /etc/passwd |cut -d: -f 1 | sort&amp;gt;&amp;gt; /tmp/there.loggedin$$&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;echo "Did not login:"&lt;BR /&gt;echo "--------------"&lt;BR /&gt;sdiff /tmp/there.loggedin$$  /tmp/passwd.users$$ | grep "&amp;gt;" | tr -s " " ""&lt;BR /&gt;&lt;BR /&gt;rm  /tmp/there.loggedin$$&lt;BR /&gt;rm /tmp/passwd.users$$&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Sep 2002 10:20:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-logon/m-p/2807544#M83456</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2002-09-17T10:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: User logon</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-logon/m-p/2807545#M83457</link>
      <description>change &lt;BR /&gt;for i in $(last $OPTIONS&lt;BR /&gt;to&lt;BR /&gt;for i in $(last</description>
      <pubDate>Tue, 17 Sep 2002 10:24:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-logon/m-p/2807545#M83457</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2002-09-17T10:24:53Z</dc:date>
    </item>
  </channel>
</rss>

