<?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 Problems using the getprpwent (3) function in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-using-the-getprpwent-3-function/m-p/2753464#M722145</link>
    <description>Hi ! &lt;BR /&gt;We have some programmers here that are using the getprpwent (3) function to get user information that are stored on /tcb. The problem is that this function don't return any information. I think this happens due to the /tcb permissions that prevent access to the /tcb/file/auth/... files. What can I do to fix it ? &lt;BR /&gt;&lt;BR /&gt;Regards, &lt;BR /&gt;       Augusto</description>
    <pubDate>Thu, 27 Jun 2002 13:22:20 GMT</pubDate>
    <dc:creator>Augusto Vinhaes</dc:creator>
    <dc:date>2002-06-27T13:22:20Z</dc:date>
    <item>
      <title>Problems using the getprpwent (3) function</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-using-the-getprpwent-3-function/m-p/2753464#M722145</link>
      <description>Hi ! &lt;BR /&gt;We have some programmers here that are using the getprpwent (3) function to get user information that are stored on /tcb. The problem is that this function don't return any information. I think this happens due to the /tcb permissions that prevent access to the /tcb/file/auth/... files. What can I do to fix it ? &lt;BR /&gt;&lt;BR /&gt;Regards, &lt;BR /&gt;       Augusto</description>
      <pubDate>Thu, 27 Jun 2002 13:22:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-using-the-getprpwent-3-function/m-p/2753464#M722145</guid>
      <dc:creator>Augusto Vinhaes</dc:creator>
      <dc:date>2002-06-27T13:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problems using the getprpwent (3) function</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-using-the-getprpwent-3-function/m-p/2753465#M722146</link>
      <description>If you are using NIS, there are additional considerations:&lt;BR /&gt;&lt;BR /&gt;From the man page:&lt;BR /&gt;"Additionally, all of these routines depend on the configuration of the&lt;BR /&gt;      Name Service Switch file, /etc/nsswitch.conf.  These routines use the&lt;BR /&gt;      switch for the passwd database."&lt;BR /&gt;&lt;BR /&gt;The other obvious question is the program that does the call running as root?  If not, you can try a work-around by setting-up a seperate processes that is SUID root and then running that process from your program.  The downside here is that this is a massive security hole, and you need to add security checks to the process to ensure that just anyone cannot running it and thereby hack your tcb.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;mark</description>
      <pubDate>Thu, 27 Jun 2002 13:40:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-using-the-getprpwent-3-function/m-p/2753465#M722146</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2002-06-27T13:40:15Z</dc:date>
    </item>
  </channel>
</rss>

