<?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: sorting users in Operating System - Tru64 Unix</title>
    <link>https://community.hpe.com/t5/operating-system-tru64-unix/sorting-users/m-p/3187223#M8595</link>
    <description>Here's another solution that isn't shell dependant but requires the use of C2 security.&lt;BR /&gt;&lt;BR /&gt;It pulls the username out of the prpasswd database for users that have last logged in more that 6 months ago.  You need to feed it the date 6 months ago in unix time (# of seconds since epoch).&lt;BR /&gt;&lt;BR /&gt;/tcb/bin/edauth -g |./prpasswd.sed |awk -F: '{ for ( i=1; i&amp;lt;=NF ; i++ ){ if ( $i ~ /^u_succhg#/ ) { split($i,x,"#") ; if ( x[2] &amp;lt; 1060965450 ) print $1 }}}'&lt;BR /&gt;&lt;BR /&gt;I use the prpasswd.sed script to fix an old bug in NIS where the "\" in edauth output mucks up the creation of btree files.  The script strips those characters out.</description>
    <pubDate>Wed, 11 Feb 2004 11:50:48 GMT</pubDate>
    <dc:creator>Mario Stargard</dc:creator>
    <dc:date>2004-02-11T11:50:48Z</dc:date>
    <item>
      <title>sorting users</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/sorting-users/m-p/3187221#M8593</link>
      <description>what is the command ( scripts) to sort users&lt;BR /&gt;who have not logging for more than 6 months.&lt;BR /&gt;Tru64 Unix 5.1A.</description>
      <pubDate>Tue, 10 Feb 2004 04:08:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/sorting-users/m-p/3187221#M8593</guid>
      <dc:creator>Rupert_1</dc:creator>
      <dc:date>2004-02-10T04:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: sorting users</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/sorting-users/m-p/3187222#M8594</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;find / -name .profile -atime +180 -print&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Feb 2004 06:45:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/sorting-users/m-p/3187222#M8594</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-02-10T06:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: sorting users</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/sorting-users/m-p/3187223#M8595</link>
      <description>Here's another solution that isn't shell dependant but requires the use of C2 security.&lt;BR /&gt;&lt;BR /&gt;It pulls the username out of the prpasswd database for users that have last logged in more that 6 months ago.  You need to feed it the date 6 months ago in unix time (# of seconds since epoch).&lt;BR /&gt;&lt;BR /&gt;/tcb/bin/edauth -g |./prpasswd.sed |awk -F: '{ for ( i=1; i&amp;lt;=NF ; i++ ){ if ( $i ~ /^u_succhg#/ ) { split($i,x,"#") ; if ( x[2] &amp;lt; 1060965450 ) print $1 }}}'&lt;BR /&gt;&lt;BR /&gt;I use the prpasswd.sed script to fix an old bug in NIS where the "\" in edauth output mucks up the creation of btree files.  The script strips those characters out.</description>
      <pubDate>Wed, 11 Feb 2004 11:50:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/sorting-users/m-p/3187223#M8595</guid>
      <dc:creator>Mario Stargard</dc:creator>
      <dc:date>2004-02-11T11:50:48Z</dc:date>
    </item>
  </channel>
</rss>

