<?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: which users are activated in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/which-users-are-activated/m-p/5074474#M439293</link>
    <description>Clay,&lt;BR /&gt;&lt;BR /&gt;You are super admin.  Thank you very much for your help.&lt;BR /&gt;&lt;BR /&gt;Again, I would like to thank everyone for your help.  Points will be assigned shortly.&lt;BR /&gt;&lt;BR /&gt;Tuan</description>
    <pubDate>Tue, 16 Oct 2007 12:02:14 GMT</pubDate>
    <dc:creator>Tuan Nguyen</dc:creator>
    <dc:date>2007-10-16T12:02:14Z</dc:date>
    <item>
      <title>which users are activated</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-users-are-activated/m-p/5074467#M439286</link>
      <description>Hello, admins&lt;BR /&gt;&lt;BR /&gt;System: 9000 server&lt;BR /&gt;OS: hpux 11.0 and 11.11&lt;BR /&gt;From command line, how do I find out which user is activated and which one is not?&lt;BR /&gt;&lt;BR /&gt;Thank you in advance for your help.&lt;BR /&gt;&lt;BR /&gt;Tuan</description>
      <pubDate>Tue, 16 Oct 2007 11:02:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-users-are-activated/m-p/5074467#M439286</guid>
      <dc:creator>Tuan Nguyen</dc:creator>
      <dc:date>2007-10-16T11:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: which users are activated</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-users-are-activated/m-p/5074468#M439287</link>
      <description>logins -x. Locked accounts will display "LK". Man logins for details.</description>
      <pubDate>Tue, 16 Oct 2007 11:08:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-users-are-activated/m-p/5074468#M439287</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-10-16T11:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: which users are activated</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-users-are-activated/m-p/5074469#M439288</link>
      <description>Shalom Tuan,&lt;BR /&gt;&lt;BR /&gt;passwd -sa &lt;BR /&gt;&lt;BR /&gt;May be useful.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 16 Oct 2007 11:37:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-users-are-activated/m-p/5074469#M439288</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-10-16T11:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: which users are activated</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-users-are-activated/m-p/5074470#M439289</link>
      <description>Clay,&lt;BR /&gt;&lt;BR /&gt;Thanks for your prompt response.  I look into SAM and see many accounts which are de-activated.  However, logins -x shows PS on a de-activated accounts.&lt;BR /&gt;&lt;BR /&gt;Any suggestion?&lt;BR /&gt;&lt;BR /&gt;I appreciate your help.&lt;BR /&gt;&lt;BR /&gt;Tuan</description>
      <pubDate>Tue, 16 Oct 2007 11:41:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-users-are-activated/m-p/5074470#M439289</guid>
      <dc:creator>Tuan Nguyen</dc:creator>
      <dc:date>2007-10-16T11:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: which users are activated</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-users-are-activated/m-p/5074471#M439290</link>
      <description>passwd -sa is the right command to run it will show you all the active and deactive accounts.</description>
      <pubDate>Tue, 16 Oct 2007 11:44:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-users-are-activated/m-p/5074471#M439290</guid>
      <dc:creator>David Bellamy</dc:creator>
      <dc:date>2007-10-16T11:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: which users are activated</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-users-are-activated/m-p/5074472#M439291</link>
      <description>Steven,&lt;BR /&gt;&lt;BR /&gt;Thank you for your response.  passwd -sa also shows PS on deactivated accounts. &lt;BR /&gt;&lt;BR /&gt;Tuan</description>
      <pubDate>Tue, 16 Oct 2007 11:45:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-users-are-activated/m-p/5074472#M439291</guid>
      <dc:creator>Tuan Nguyen</dc:creator>
      <dc:date>2007-10-16T11:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: which users are activated</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-users-are-activated/m-p/5074473#M439292</link>
      <description>There are a number of reasons that an account is no longer active but it may not be locked either. On a trusted system (which you appear to be) do this:&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;&lt;BR /&gt;listusers | awk '{print $1}' | while read U&lt;BR /&gt;  do&lt;BR /&gt;    LK=$(/usr/lbin/getprpw -r -m lockout ${U})&lt;BR /&gt;    echo "${U}\t${LK}"&lt;BR /&gt;  done&lt;BR /&gt;&lt;BR /&gt;If the lockout field consists of all zero's then the account is active but if there is a '1' in any position; the account is locked/expired/... . The position of each '1' is significant as it relates to the specific reason for an account lock. Man getprpw for details and pay attention to the section that describes "lockout".&lt;BR /&gt;&lt;BR /&gt;NOTE: Only your 11.11 box will have a man page for getprpw.</description>
      <pubDate>Tue, 16 Oct 2007 11:53:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-users-are-activated/m-p/5074473#M439292</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-10-16T11:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: which users are activated</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-users-are-activated/m-p/5074474#M439293</link>
      <description>Clay,&lt;BR /&gt;&lt;BR /&gt;You are super admin.  Thank you very much for your help.&lt;BR /&gt;&lt;BR /&gt;Again, I would like to thank everyone for your help.  Points will be assigned shortly.&lt;BR /&gt;&lt;BR /&gt;Tuan</description>
      <pubDate>Tue, 16 Oct 2007 12:02:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-users-are-activated/m-p/5074474#M439293</guid>
      <dc:creator>Tuan Nguyen</dc:creator>
      <dc:date>2007-10-16T12:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: which users are activated</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-users-are-activated/m-p/5074475#M439294</link>
      <description>I use a quick script that uses the getprpw command to derive the status of a user id.&lt;BR /&gt;&lt;BR /&gt;cat list of users into loop that executes the following for each.&lt;BR /&gt;getprpw -m lockout $user&lt;BR /&gt;then use the lockout code to determine.&lt;BR /&gt;&lt;BR /&gt;i.e.&lt;BR /&gt;&lt;BR /&gt;/usr/lbin/getprpw -m lockout $list|awk -F= '$2 != "0000000" {print "DEACTIVATED"}'&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Oct 2007 14:17:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-users-are-activated/m-p/5074475#M439294</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2007-10-16T14:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: which users are activated</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-users-are-activated/m-p/5074476#M439295</link>
      <description>Tim,&lt;BR /&gt;&lt;BR /&gt;Thank you for your help.  &lt;BR /&gt;&lt;BR /&gt;Thank you, everyone.&lt;BR /&gt;&lt;BR /&gt;Tuan</description>
      <pubDate>Tue, 16 Oct 2007 15:31:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-users-are-activated/m-p/5074476#M439295</guid>
      <dc:creator>Tuan Nguyen</dc:creator>
      <dc:date>2007-10-16T15:31:29Z</dc:date>
    </item>
  </channel>
</rss>

