<?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: Last login from sysuaf in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/last-login-from-sysuaf/m-p/3554141#M68620</link>
    <description>Bonjour&lt;BR /&gt;&lt;BR /&gt;If you install Python for Vms, you have an example doing exactly that at&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://vmspython.dyndns.org/" target="_blank"&gt;http://vmspython.dyndns.org/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;see "last account login"</description>
    <pubDate>Mon, 30 May 2005 14:45:07 GMT</pubDate>
    <dc:creator>labadie_1</dc:creator>
    <dc:date>2005-05-30T14:45:07Z</dc:date>
    <item>
      <title>Last login from sysuaf</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/last-login-from-sysuaf/m-p/3554138#M68617</link>
      <description>Is there anybody have a tool or a script to get last login from sysuaf ?&lt;BR /&gt;&lt;BR /&gt;my email is pascal.lebel@grassavoye.com (France)&lt;BR /&gt;&lt;BR /&gt;Thanks for your advise</description>
      <pubDate>Mon, 30 May 2005 04:25:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/last-login-from-sysuaf/m-p/3554138#M68617</guid>
      <dc:creator>LEBEL</dc:creator>
      <dc:date>2005-05-30T04:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Last login from sysuaf</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/last-login-from-sysuaf/m-p/3554139#M68618</link>
      <description>We use a tool called GETUAI (you should find it on the standard fileservers,e.g. Hunter Goatleys), which reports UAF chars into DCL symbols, e.g.&lt;BR /&gt;&lt;BR /&gt;$ GETUAI ROHWEDDER/LAST_LOGIN=kalles_last_login&lt;BR /&gt;$ SHO SYM kalles_last_login&lt;BR /&gt;KALLES_LAST_LOGIN = "30-MAY-2005 09:07:35.15"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards Kalle</description>
      <pubDate>Mon, 30 May 2005 04:37:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/last-login-from-sysuaf/m-p/3554139#M68618</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2005-05-30T04:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Last login from sysuaf</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/last-login-from-sysuaf/m-p/3554140#M68619</link>
      <description>Welcome to the ITRC OpenVMS forum be sure to check out:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?&lt;/A&gt;&lt;BR /&gt;and at some point:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=140137" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=140137&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You probably do not want to post your Email here out in the open. IN case 'trolls' come by for spam addressed. Just ask here, and get an answer here!?&lt;BR /&gt;&lt;BR /&gt;Actually... better still, ask around first with google (+site:itrc.hp.com if you want to stay here) or similar because as you might imagine you ar enot the first to ask this questions. &lt;BR /&gt;&lt;BR /&gt;getuaf and tools like it are the best way to go IMHO. Myself I published one on the freeware cd:&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/freeware/freeware60/rms_tools/bonus/getuai.c" target="_blank"&gt;http://h71000.www7.hp.com/freeware/freeware60/rms_tools/bonus/getuai.c&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Specifically for your question I have a com file handy. It lists all username/loastlogin combo beyond a certain date. Readily modified to just list by username. See below.&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;$ type uaf.com&lt;BR /&gt;$if p1.eqs.""&lt;BR /&gt;$then&lt;BR /&gt;$ write sys$output "Please provide last-login (interactive) cutoff date"&lt;BR /&gt;$ exit&lt;BR /&gt;$else&lt;BR /&gt;$ cut_date = f$cvtime(p1)&lt;BR /&gt;$&lt;BR /&gt;$!libr/extr=$uafdef/out=uafdef.tmp sys$library:lib.mlb&lt;BR /&gt;$!EQU    UAF$S_LASTLOGIN_I       8&lt;BR /&gt;$!EQU    UAF$Q_LASTLOGIN_I       396&lt;BR /&gt;$!EQU    UAF$L_FLAGS     468&lt;BR /&gt;$!EQU    UAF$V_DISACNT   4&lt;BR /&gt;$&lt;BR /&gt;$open /read /share uaf 'f$parse("SYSUAF","SYS$SYSTEM:.DAT",,,"SYNTAX_ONLY")&lt;BR /&gt;$loop:&lt;BR /&gt;$ read/end=done uaf rec&lt;BR /&gt;$ username=f$extr(4,12,rec)&lt;BR /&gt;$ bin_date=f$extr(396,8,rec)&lt;BR /&gt;$ flags   =f$extr(468,4,rec)&lt;BR /&gt;$ disuser = - f$cvsi(4,1,flags)&lt;BR /&gt;$ if f$cvsi(0,32,bin_date) .eq. 0 then goto loop&lt;BR /&gt;$ asc_date=f$fao("!%D",f$cvui(32,32,f$fao("!AD",8,bin_date)))&lt;BR /&gt;$ cmp_date=f$cvtime(asc_date)&lt;BR /&gt;$ if cmp_date.les.cut_date then -&lt;BR /&gt;    write sys$output username, " ", disuser, " ", asc_date&lt;BR /&gt;$goto loop&lt;BR /&gt;$done:&lt;BR /&gt;$close uaf&lt;BR /&gt;</description>
      <pubDate>Mon, 30 May 2005 09:49:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/last-login-from-sysuaf/m-p/3554140#M68619</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2005-05-30T09:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Last login from sysuaf</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/last-login-from-sysuaf/m-p/3554141#M68620</link>
      <description>Bonjour&lt;BR /&gt;&lt;BR /&gt;If you install Python for Vms, you have an example doing exactly that at&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://vmspython.dyndns.org/" target="_blank"&gt;http://vmspython.dyndns.org/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;see "last account login"</description>
      <pubDate>Mon, 30 May 2005 14:45:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/last-login-from-sysuaf/m-p/3554141#M68620</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2005-05-30T14:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Last login from sysuaf</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/last-login-from-sysuaf/m-p/3554142#M68621</link>
      <description>another getuai&lt;BR /&gt;&lt;A href="ftp://ftp.process.com/vms-freeware/fileserv/getuai.zip" target="_blank"&gt;ftp://ftp.process.com/vms-freeware/fileserv/getuai.zip&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 30 May 2005 16:08:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/last-login-from-sysuaf/m-p/3554142#M68621</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-05-30T16:08:01Z</dc:date>
    </item>
  </channel>
</rss>

