<?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: getprpw does not find files in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/getprpw-does-not-find-files/m-p/3634840#M742166</link>
    <description>also, for local accounts such as "adm" that you're checking, try getprpw w/ -l to specify local account and skip the nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;getprpw -l adm&lt;BR /&gt;&lt;BR /&gt;-denver</description>
    <pubDate>Tue, 27 Sep 2005 11:01:19 GMT</pubDate>
    <dc:creator>Denver Osborn</dc:creator>
    <dc:date>2005-09-27T11:01:19Z</dc:date>
    <item>
      <title>getprpw does not find files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getprpw-does-not-find-files/m-p/3634833#M742159</link>
      <description>I am using a trusted system and NIS+ on an MC/Serviceguard cluster under HP-UX 11.11.&lt;BR /&gt;&lt;BR /&gt;This is something that has just started happening. getprpw cannot find something -- I assume it is the trusted files, but (for example) /tcb/files/auth/a/adm does exist. This happens with any user account, and even with accounts that don't exist.  &lt;BR /&gt;&lt;BR /&gt;[root] /etc&amp;gt; /usr/lbin/getprpw adm &lt;BR /&gt;/usr/lbin/getprpw: GOA1:  not found&lt;BR /&gt;/usr/lbin/getprpw[2]: HRTEAM1:  not found&lt;BR /&gt;/usr/lbin/getprpw[3]: TestDie:  not found&lt;BR /&gt;/usr/lbin/getprpw[4]: aadac1:  not found&lt;BR /&gt;/usr/lbin/getprpw[5]: aadlid:  not found&lt;BR /&gt;/usr/lbin/getprpw[6]: aadlid9:  not found&lt;BR /&gt;/usr/lbin/getprpw[7]: acsrcd:  not found&lt;BR /&gt;/usr/lbin/getprpw[8]: adcorp:  not found&lt;BR /&gt;/usr/lbin/getprpw[9]: adcorp9:  not found&lt;BR /&gt;/usr/lbin/getprpw[10]: adlad:  not found&lt;BR /&gt;/usr/lbin/getprpw[11]: adlad9:  not found&lt;BR /&gt;/usr/lbin/getprpw[12]: adm:  not found&lt;BR /&gt;/usr/lbin/getprpw[13]: aecdid:  not found&lt;BR /&gt;/usr/lbin/getprpw[14]: aenvcas:  not found&lt;BR /&gt;    :&lt;BR /&gt;    :&lt;BR /&gt;and it always stops at [180] and just sits there which is about 2/3 of the way through the users.&lt;BR /&gt;&lt;BR /&gt;[root] /etc&amp;gt; ll /tcb/files/auth/a/adm&lt;BR /&gt;-rw-rw-r--   1 root       root           147 Jan 26  2004 /tcb/files/auth/a/adm&lt;BR /&gt;&lt;BR /&gt;My /etc/nsswitch.conf has this for passwd&lt;BR /&gt;passwd:       files [NOTFOUND=continue] nisplus&lt;BR /&gt;&lt;BR /&gt;This is on the NIS+ master. On a replica master, there is no problem listing any user. If I enter a non-existant user I get the expected error:&lt;BR /&gt;[root] /root&amp;gt; /usr/lbin/getprpw dummy  &lt;BR /&gt;user password file not found: dummy&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What is getprpw not finding? Has anyone any clue?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Sep 2005 11:14:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getprpw-does-not-find-files/m-p/3634833#M742159</guid>
      <dc:creator>Gord Moore</dc:creator>
      <dc:date>2005-09-26T11:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: getprpw does not find files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getprpw-does-not-find-files/m-p/3634834#M742160</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;First, run getprpw() for a single user and examine the return status.  See the manpages for the values and their meanings.&lt;BR /&gt;&lt;BR /&gt;Then, check '/etc/nsswitch.conf'.  You might want to specify "return" explicitly on anything other than "success".&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 26 Sep 2005 11:38:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getprpw-does-not-find-files/m-p/3634834#M742160</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-09-26T11:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: getprpw does not find files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getprpw-does-not-find-files/m-p/3634835#M742161</link>
      <description>I try to run getprpw for a single user and get the output I included.  There are consistently 180 /usr/lbin/getprpw[xxx]: &lt;USERNAME&gt;: not found  errors listed, then it hangs. Control-C is the only way to get out. So the getprpw never finishes.&lt;BR /&gt;&lt;BR /&gt;I changed nsswitch.conf to this:&lt;BR /&gt;passwd:       files [NOTFOUND=continue] nisplus [NOTFOUND=return]&lt;BR /&gt;&lt;BR /&gt;No change to the behaviour.&lt;BR /&gt;&lt;BR /&gt;What NIS+ commands can I use to compare the Master and the Replica? The getprpw command works on the Replica.&lt;BR /&gt;&lt;BR /&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Mon, 26 Sep 2005 16:08:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getprpw-does-not-find-files/m-p/3634835#M742161</guid>
      <dc:creator>Gord Moore</dc:creator>
      <dc:date>2005-09-26T16:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: getprpw does not find files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getprpw-does-not-find-files/m-p/3634836#M742162</link>
      <description>Hi,&lt;BR /&gt;Please see this link:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=827993" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=827993&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Sep 2005 02:34:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getprpw-does-not-find-files/m-p/3634836#M742162</guid>
      <dc:creator>morganelan</dc:creator>
      <dc:date>2005-09-27T02:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: getprpw does not find files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getprpw-does-not-find-files/m-p/3634837#M742163</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;What are the permissions on /etc/nsswitch.conf (should be 444)&lt;BR /&gt;&lt;BR /&gt;When you run pwck, do you see any errors?&lt;BR /&gt;&lt;BR /&gt;GL&lt;BR /&gt;&lt;BR /&gt;Darrel</description>
      <pubDate>Tue, 27 Sep 2005 02:56:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getprpw-does-not-find-files/m-p/3634837#M742163</guid>
      <dc:creator>Darrel Louis</dc:creator>
      <dc:date>2005-09-27T02:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: getprpw does not find files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getprpw-does-not-find-files/m-p/3634838#M742164</link>
      <description>Darrell,&lt;BR /&gt;&lt;BR /&gt;This is the output of pwck.&lt;BR /&gt;&lt;BR /&gt;[root] /root&amp;gt; pwck&lt;BR /&gt; &lt;BR /&gt;webadmin:*:40:1::/usr/obam/server/nologindir:/usr/bin/false&lt;BR /&gt;        Login directory not found&lt;BR /&gt; &lt;BR /&gt;smbnull:*:101:102:DO NOT USE OR DELETE - needed by Samba:/home/smbnull:/sbin/sh&lt;BR /&gt;        Login directory not found&lt;BR /&gt;&lt;BR /&gt;Not exactly sure what that means.&lt;BR /&gt;&lt;BR /&gt;The file /etc/nsswitch.conf is set to 444.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;To morganelan, thanks for the pointer. I'll have a look at it and see if it helps.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Sep 2005 10:35:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getprpw-does-not-find-files/m-p/3634838#M742164</guid>
      <dc:creator>Gord Moore</dc:creator>
      <dc:date>2005-09-27T10:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: getprpw does not find files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getprpw-does-not-find-files/m-p/3634839#M742165</link>
      <description>Could it be someone ran vipw to add users but forgot to run pwconv to update the prpw db?&lt;BR /&gt;&lt;BR /&gt;Have you tried pwconv?&lt;BR /&gt;&lt;BR /&gt;-denver</description>
      <pubDate>Tue, 27 Sep 2005 10:53:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getprpw-does-not-find-files/m-p/3634839#M742165</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2005-09-27T10:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: getprpw does not find files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getprpw-does-not-find-files/m-p/3634840#M742166</link>
      <description>also, for local accounts such as "adm" that you're checking, try getprpw w/ -l to specify local account and skip the nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;getprpw -l adm&lt;BR /&gt;&lt;BR /&gt;-denver</description>
      <pubDate>Tue, 27 Sep 2005 11:01:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getprpw-does-not-find-files/m-p/3634840#M742166</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2005-09-27T11:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: getprpw does not find files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getprpw-does-not-find-files/m-p/3634841#M742167</link>
      <description>Well here you go ... &lt;BR /&gt;&lt;BR /&gt;Using pwck didn't show any significant errors, but in digging a little deeper I found that there is a command   authck.&lt;BR /&gt;&lt;BR /&gt; /root&amp;gt; authck -a&lt;BR /&gt;aquresh1 not listed in /etc/passwd nor the Nis+ passwd table, but is in the Pro&lt;BR /&gt;tected Password database.&lt;BR /&gt;arcpsc1 not listed in /etc/passwd nor the Nis+ passwd table, but is in the Prot&lt;BR /&gt;ected Password database.&lt;BR /&gt;afss9 not listed in /etc/passwd nor the Nis+ passwd table, but is in the Protec&lt;BR /&gt;ted Password database.&lt;BR /&gt;agfsid9 not listed in /etc/passwd nor the Nis+ passwd table, but is in the Prot&lt;BR /&gt;ected Password database.&lt;BR /&gt;   ... and the list goes on.&lt;BR /&gt;&lt;BR /&gt;These users should have entries in the Nis+ passwd table, but they are not there. Other users are there (like my account) so they can log on. How these users got "removed" I am not sure.  &lt;BR /&gt;&lt;BR /&gt;And how do I get them into the passwd table?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Sep 2005 10:20:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getprpw-does-not-find-files/m-p/3634841#M742167</guid>
      <dc:creator>Gord Moore</dc:creator>
      <dc:date>2005-09-28T10:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: getprpw does not find files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getprpw-does-not-find-files/m-p/3634842#M742168</link>
      <description>Ok. That's not the answer.&lt;BR /&gt;&lt;BR /&gt;After digging a little deeper I find that the user ids listed in authck actually were deleted. Their files were not deleted from /tcb/files/auth/x/xuserid.  I don't know if there is a bug in SAM or it is an expected behaviour. Anyway, moving the files away from /tcb/files/auth didn't help the original problem.&lt;BR /&gt;&lt;BR /&gt;getprpw will not run.  It lists a bunch of users (some have been deleted, some are active and have entries in passwd.org_dir)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; /usr/lbin/getprpw -l gmoore1&lt;BR /&gt;/usr/lbin/getprpw: GOA1:  not found&lt;BR /&gt;/usr/lbin/getprpw[2]: HRTEAM1:  not found&lt;BR /&gt;/usr/lbin/getprpw[3]: TestDie:  not found&lt;BR /&gt;/usr/lbin/getprpw[4]: aadac1:  not found&lt;BR /&gt;/usr/lbin/getprpw[5]: aadlid:  not found&lt;BR /&gt;/usr/lbin/getprpw[6]: aadlid9:  not found&lt;BR /&gt;&lt;BR /&gt;It hangs at error [180].&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Sep 2005 17:17:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getprpw-does-not-find-files/m-p/3634842#M742168</guid>
      <dc:creator>Gord Moore</dc:creator>
      <dc:date>2005-09-28T17:17:49Z</dc:date>
    </item>
  </channel>
</rss>

