<?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: extract last logins in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338461#M343191</link>
    <description>Johnson told you: "last -R &lt;USER_NAME1&gt; &lt;USER_NAME2&gt; &amp;gt;/tmp/lastlogin.txt"&lt;BR /&gt;&lt;BR /&gt;to which you replied:&lt;BR /&gt;"I got that and i need who never login for 30 days in one shot..how to specify with command .."&lt;BR /&gt;&lt;BR /&gt;What you "need" (or want) -vs- what commands are builtin can always be two separate things...in this case, you need to construct a script that reads the list of users from /etc/passwd and executes the snippet JP provided for each of them....&lt;BR /&gt;&lt;BR /&gt;the construction of that script, as well as filtering the results to obtain the required information is left as an excercise for the student.&lt;/USER_NAME2&gt;&lt;/USER_NAME1&gt;</description>
    <pubDate>Sun, 18 Jan 2009 16:50:58 GMT</pubDate>
    <dc:creator>OldSchool</dc:creator>
    <dc:date>2009-01-18T16:50:58Z</dc:date>
    <item>
      <title>extract last logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338445#M343175</link>
      <description>Hi Everybody,&lt;BR /&gt;&lt;BR /&gt;Can Any one explain how to Extract a list for "lastlogon" (-L).  Disable accounts for user that have not logged on in 30 days.  Delete accounts that have not logged on in 120 days.  (Obtain signature from Security Manager to delete inactive accounts).&lt;BR /&gt;&lt;BR /&gt;let me know its urgent</description>
      <pubDate>Thu, 15 Jan 2009 13:34:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338445#M343175</guid>
      <dc:creator>unixadmin_1</dc:creator>
      <dc:date>2009-01-15T13:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: extract last logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338446#M343176</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;to know the lastlogons u can use the commands as&lt;BR /&gt;#last&lt;BR /&gt;and&lt;BR /&gt;#lastb&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;sujit</description>
      <pubDate>Thu, 15 Jan 2009 13:44:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338446#M343176</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2009-01-15T13:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: extract last logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338447#M343177</link>
      <description>can u please explain me about how to retrieve last logon list for every user who are in access with unix</description>
      <pubDate>Thu, 15 Jan 2009 13:48:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338447#M343177</guid>
      <dc:creator>unixadmin_1</dc:creator>
      <dc:date>2009-01-15T13:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: extract last logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338448#M343178</link>
      <description>hi &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;try giving the &lt;BR /&gt;&lt;BR /&gt;#last &lt;USERNAME&gt; command and &lt;BR /&gt;#lastb &lt;USERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hope so &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;i do not have a running system right infront of me , but u can see the amn page for the last command&lt;BR /&gt;&lt;BR /&gt;#man last&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;sujit&lt;/USERNAME&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Thu, 15 Jan 2009 13:59:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338448#M343178</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2009-01-15T13:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: extract last logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338449#M343179</link>
      <description>You specified for single user i need it for users more than n number.please</description>
      <pubDate>Thu, 15 Jan 2009 14:06:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338449#M343179</guid>
      <dc:creator>unixadmin_1</dc:creator>
      <dc:date>2009-01-15T14:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: extract last logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338450#M343180</link>
      <description>hi &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;u can see for many users like this&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#last root user1 user2 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;like that&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please do not forget assignibg the points&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Sujit</description>
      <pubDate>Thu, 15 Jan 2009 14:57:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338450#M343180</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2009-01-15T14:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: extract last logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338451#M343181</link>
      <description>"how to Extract a list for "lastlogon" (-L)....."&lt;BR /&gt;&lt;BR /&gt;what O/S is *that* for, as it doesn't appear to be std hpux.  Active Directory integration?&lt;BR /&gt;&lt;BR /&gt;last and lastb will show the login info for everything in the utmp / wtmp files.  if those have been cleaned out within the last 120 days, you won't be able to find the information you are looking for.&lt;BR /&gt;&lt;BR /&gt;as with your other post, you seem to be asking how your can comply with auditor's requests?</description>
      <pubDate>Thu, 15 Jan 2009 16:09:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338451#M343181</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-01-15T16:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: extract last logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338452#M343182</link>
      <description>is there any command to execute all last login ids for a particular timeperiod(ex:120) straight command at default\security........</description>
      <pubDate>Thu, 15 Jan 2009 16:31:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338452#M343182</guid>
      <dc:creator>unixadmin_1</dc:creator>
      <dc:date>2009-01-15T16:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: extract last logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338453#M343183</link>
      <description>no....and i don't see what "default\security....has to do with it.</description>
      <pubDate>Thu, 15 Jan 2009 17:09:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338453#M343183</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-01-15T17:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: extract last logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338454#M343184</link>
      <description>lastlogon ??&lt;BR /&gt;&lt;BR /&gt;Is this command used in HP-UX ??&lt;BR /&gt;&lt;BR /&gt;Please post your queries in right forum in case if your query is other then HP-UX Operating System</description>
      <pubDate>Thu, 15 Jan 2009 17:36:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338454#M343184</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2009-01-15T17:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: extract last logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338455#M343185</link>
      <description>Is this query related to HP-UX ? Samba ? or Ldap ?</description>
      <pubDate>Thu, 15 Jan 2009 17:39:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338455#M343185</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2009-01-15T17:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: extract last logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338456#M343186</link>
      <description>I believe you are taking about CIFS. Please confirm .</description>
      <pubDate>Thu, 15 Jan 2009 17:43:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338456#M343186</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2009-01-15T17:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: extract last logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338457#M343187</link>
      <description>appears to be LDAP actually...&lt;BR /&gt;&lt;BR /&gt;i believe, but won't guarantee, that if that is true, you need to examine the AD server and not the individual unix boxes, as they may have nothing on them......</description>
      <pubDate>Thu, 15 Jan 2009 17:51:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338457#M343187</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-01-15T17:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: extract last logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338458#M343188</link>
      <description>Please provide me the script which can retrieve last logon</description>
      <pubDate>Sat, 17 Jan 2009 06:48:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338458#M343188</guid>
      <dc:creator>unixadmin_1</dc:creator>
      <dc:date>2009-01-17T06:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: extract last logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338459#M343189</link>
      <description>&amp;gt;&amp;gt;Please provide me the script which can retrieve last logon&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Are you refering to all User accounts ..? are specfic User..?&lt;BR /&gt;&lt;BR /&gt;last -R &lt;USER_NAME1&gt; &lt;USER_NAME2&gt; &amp;gt;/tmp/lastlogin.txt&lt;BR /&gt;&lt;BR /&gt;(above command will show all the last login details for  User1&amp;amp; user2. same like you can specfy all you user accounts append to file /tmp/loastlogin.txt.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson&lt;/USER_NAME2&gt;&lt;/USER_NAME1&gt;</description>
      <pubDate>Sat, 17 Jan 2009 12:28:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338459#M343189</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2009-01-17T12:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: extract last logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338460#M343190</link>
      <description>Thanks Johnson &lt;BR /&gt;&lt;BR /&gt;I got that and i need who never login for 30 days in one shot..how to specify with command ..</description>
      <pubDate>Sat, 17 Jan 2009 12:44:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338460#M343190</guid>
      <dc:creator>unixadmin_1</dc:creator>
      <dc:date>2009-01-17T12:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: extract last logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338461#M343191</link>
      <description>Johnson told you: "last -R &lt;USER_NAME1&gt; &lt;USER_NAME2&gt; &amp;gt;/tmp/lastlogin.txt"&lt;BR /&gt;&lt;BR /&gt;to which you replied:&lt;BR /&gt;"I got that and i need who never login for 30 days in one shot..how to specify with command .."&lt;BR /&gt;&lt;BR /&gt;What you "need" (or want) -vs- what commands are builtin can always be two separate things...in this case, you need to construct a script that reads the list of users from /etc/passwd and executes the snippet JP provided for each of them....&lt;BR /&gt;&lt;BR /&gt;the construction of that script, as well as filtering the results to obtain the required information is left as an excercise for the student.&lt;/USER_NAME2&gt;&lt;/USER_NAME1&gt;</description>
      <pubDate>Sun, 18 Jan 2009 16:50:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extract-last-logins/m-p/4338461#M343191</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-01-18T16:50:58Z</dc:date>
    </item>
  </channel>
</rss>

