<?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 Listing inactive users in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/listing-inactive-users/m-p/4245433#M677529</link>
    <description>Hi All&lt;BR /&gt;&lt;BR /&gt;How do I list number of inactive users from /etc/passwd file.&lt;BR /&gt;&lt;BR /&gt;I tried logins -x it does not help.&lt;BR /&gt;Thank you.</description>
    <pubDate>Mon, 04 Aug 2008 07:19:23 GMT</pubDate>
    <dc:creator>Mahlathini</dc:creator>
    <dc:date>2008-08-04T07:19:23Z</dc:date>
    <item>
      <title>Listing inactive users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/listing-inactive-users/m-p/4245433#M677529</link>
      <description>Hi All&lt;BR /&gt;&lt;BR /&gt;How do I list number of inactive users from /etc/passwd file.&lt;BR /&gt;&lt;BR /&gt;I tried logins -x it does not help.&lt;BR /&gt;Thank you.</description>
      <pubDate>Mon, 04 Aug 2008 07:19:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/listing-inactive-users/m-p/4245433#M677529</guid>
      <dc:creator>Mahlathini</dc:creator>
      <dc:date>2008-08-04T07:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Listing inactive users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/listing-inactive-users/m-p/4245434#M677530</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;You do not reveal the OS or security setup.&lt;BR /&gt;&lt;BR /&gt;Try passwd -sa&lt;BR /&gt;&lt;BR /&gt;This will help depending on OS level and security setup.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 04 Aug 2008 07:23:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/listing-inactive-users/m-p/4245434#M677530</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-08-04T07:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Listing inactive users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/listing-inactive-users/m-p/4245435#M677531</link>
      <description>The OS level hp-ux 11.11i and is a trusted system. I did try passwd -sa, it only shows the users and without passwd.</description>
      <pubDate>Mon, 04 Aug 2008 08:42:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/listing-inactive-users/m-p/4245435#M677531</guid>
      <dc:creator>Mahlathini</dc:creator>
      <dc:date>2008-08-04T08:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Listing inactive users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/listing-inactive-users/m-p/4245436#M677532</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;What do you mean under "inactive"? Those who hasn't logon the host for some days or what? If this you can run the following pipe &lt;BR /&gt;&lt;BR /&gt;# last | awk '{ print $1 }' | sort | uniq&lt;BR /&gt;&lt;BR /&gt;It consumes a lot of memory but will give a list of user who have registered in OS. The rest from /etc/passwd are "inactive".</description>
      <pubDate>Mon, 04 Aug 2008 10:56:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/listing-inactive-users/m-p/4245436#M677532</guid>
      <dc:creator>IG_2</dc:creator>
      <dc:date>2008-08-04T10:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Listing inactive users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/listing-inactive-users/m-p/4245437#M677533</link>
      <description>Thanks it seems to be working.</description>
      <pubDate>Mon, 04 Aug 2008 11:03:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/listing-inactive-users/m-p/4245437#M677533</guid>
      <dc:creator>Mahlathini</dc:creator>
      <dc:date>2008-08-04T11:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Listing inactive users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/listing-inactive-users/m-p/4245438#M677534</link>
      <description>With trusted systems you can set accounts to be locked after n number of days of inactivity. Once you set that up you could write a script to get the list of accounts from /etc/passwd. Then use a loop to run them through getprpw. All you'll need is the lockout field. If the second bit is a 1 then the account is inactive. Refer to man getprpw.</description>
      <pubDate>Mon, 04 Aug 2008 12:23:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/listing-inactive-users/m-p/4245438#M677534</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2008-08-04T12:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Listing inactive users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/listing-inactive-users/m-p/4245439#M677535</link>
      <description>"lastlog" shows the last login time for each user.&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Aug 2008 19:21:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/listing-inactive-users/m-p/4245439#M677535</guid>
      <dc:creator>Haral Tsitsivas</dc:creator>
      <dc:date>2008-08-05T19:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Listing inactive users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/listing-inactive-users/m-p/4245440#M677536</link>
      <description>check this my own thread&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1172652" target="_blank"&gt;http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1172652&lt;/A&gt;</description>
      <pubDate>Wed, 06 Aug 2008 00:35:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/listing-inactive-users/m-p/4245440#M677536</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2008-08-06T00:35:06Z</dc:date>
    </item>
  </channel>
</rss>

