<?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: NIS master and clients process and files owner by root in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-master-and-clients-process-and-files-owner-by-root/m-p/5898721#M529072</link>
    <description>&lt;P&gt;-r--r--r-- 1 0 sys 2865 Dec 13 09:08 /etc/passwd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I made a couple of tests, and the owner change when I started nis.master&lt;/P&gt;</description>
    <pubDate>Thu, 13 Dec 2012 23:12:07 GMT</pubDate>
    <dc:creator>gcsg</dc:creator>
    <dc:date>2012-12-13T23:12:07Z</dc:date>
    <item>
      <title>NIS master and clients process and files owner by root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-master-and-clients-process-and-files-owner-by-root/m-p/5897783#M529065</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a NIS Master server and several Clients of it and I realize that all the processes and files that should be owne by root appears owne by 0 (the number that actually is root into the /etc/passwd).&lt;/P&gt;&lt;P&gt;I already check the /etc/passwd and also the NIS passwd for any incorrect entry of the number 0 user and nothing is wrong.&lt;/P&gt;&lt;P&gt;this is an example of it&lt;/P&gt;&lt;P&gt;daemon 1971 1 0 Oct 20 ? 0:00 grmd&lt;/P&gt;&lt;P&gt;0 1706 1704 0 Oct 20 ? 0:00 /usr/sbin/nfsd 4&lt;/P&gt;&lt;P&gt;0 1708 1704 0 Oct 20 ? 0:00 /usr/sbin/nfsd 4&lt;/P&gt;&lt;P&gt;0 1709 1706 0 Oct 20 ? 0:00 /usr/sbin/nfsd 4&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2012 00:15:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-master-and-clients-process-and-files-owner-by-root/m-p/5897783#M529065</guid>
      <dc:creator>gcsg</dc:creator>
      <dc:date>2012-12-13T00:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: NIS master and clients process and files owner by root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-master-and-clients-process-and-files-owner-by-root/m-p/5897965#M529066</link>
      <description>&lt;P&gt;&amp;gt;all the processes and files that should be owned by root appears owned by 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What does your last few lines of /etc/passwd look like?&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;+::-2:-2:::&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2012 06:40:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-master-and-clients-process-and-files-owner-by-root/m-p/5897965#M529066</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-12-13T06:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: NIS master and clients process and files owner by root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-master-and-clients-process-and-files-owner-by-root/m-p/5898451#M529067</link>
      <description>&lt;P&gt;Actually not, there are a few users ID and everything&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;x1234:Hz64S/eM59BcE:117:76:Users name:/tmp/x1234:/sbin/sh&lt;BR /&gt;y1234:I5D0wl/A4IRLE:118:1604:Users name:/home/y1234:/sbin/sh&lt;BR /&gt;z1234:8FSLDRqdQJnrA:130:4506:Users name:/home/z1234:/sbin/sh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2012 15:55:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-master-and-clients-process-and-files-owner-by-root/m-p/5898451#M529067</guid>
      <dc:creator>gcsg</dc:creator>
      <dc:date>2012-12-13T15:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: NIS master and clients process and files owner by root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-master-and-clients-process-and-files-owner-by-root/m-p/5898479#M529068</link>
      <description>&lt;P&gt;What are the permissions on /etc/passwd? &amp;nbsp;Is it readable by everyone? &amp;nbsp;It should be rw-r--r-- for permissions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2012 16:08:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-master-and-clients-process-and-files-owner-by-root/m-p/5898479#M529068</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2012-12-13T16:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: NIS master and clients process and files owner by root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-master-and-clients-process-and-files-owner-by-root/m-p/5898485#M529069</link>
      <description>I added the +::-2:-2::: to the /etc/passwd and stop the nis.client and nis.server. Once I started the nis.server everything looks fine onwer root. but when I started nis.client again is the owner 0</description>
      <pubDate>Thu, 13 Dec 2012 16:13:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-master-and-clients-process-and-files-owner-by-root/m-p/5898485#M529069</guid>
      <dc:creator>gcsg</dc:creator>
      <dc:date>2012-12-13T16:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: NIS master and clients process and files owner by root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-master-and-clients-process-and-files-owner-by-root/m-p/5898491#M529070</link>
      <description>&lt;P&gt;NIS Master server&lt;/P&gt;&lt;P&gt;-r--r--r-- 1 0 other 2025 Dec 13 08:58 /etc/passwd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2012 16:21:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-master-and-clients-process-and-files-owner-by-root/m-p/5898491#M529070</guid>
      <dc:creator>gcsg</dc:creator>
      <dc:date>2012-12-13T16:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: NIS master and clients process and files owner by root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-master-and-clients-process-and-files-owner-by-root/m-p/5898713#M529071</link>
      <description>&lt;P&gt;&amp;gt;NIS Master server&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How about the permissions on passwd on the NIS clients?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2012 22:56:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-master-and-clients-process-and-files-owner-by-root/m-p/5898713#M529071</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-12-13T22:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: NIS master and clients process and files owner by root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-master-and-clients-process-and-files-owner-by-root/m-p/5898721#M529072</link>
      <description>&lt;P&gt;-r--r--r-- 1 0 sys 2865 Dec 13 09:08 /etc/passwd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I made a couple of tests, and the owner change when I started nis.master&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2012 23:12:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-master-and-clients-process-and-files-owner-by-root/m-p/5898721#M529072</guid>
      <dc:creator>gcsg</dc:creator>
      <dc:date>2012-12-13T23:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: NIS master and clients process and files owner by root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-master-and-clients-process-and-files-owner-by-root/m-p/5899427#M529073</link>
      <description>&lt;P&gt;I looks that it was a problem with the 2nd line on the /etc/passwd on the master. It was deleted and everything came back to root&lt;/P&gt;&lt;P&gt;root:FxuOpg9A:0:3::/:/sbin/sh&lt;BR /&gt;droot:R6TEgWb7FU:0:3::/:/sbin/sh&amp;nbsp; ---- line deleted&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2012 15:26:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-master-and-clients-process-and-files-owner-by-root/m-p/5899427#M529073</guid>
      <dc:creator>gcsg</dc:creator>
      <dc:date>2012-12-14T15:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: NIS master and clients process and files owner by root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-master-and-clients-process-and-files-owner-by-root/m-p/5900001#M529074</link>
      <description>&lt;P&gt;Do you have an /etc/nsswitch.conf file? If you have such a file, what does it say in the "passwd:" line?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't worked too much with NIS, but I was under the impression that the +/- syntax like "+::-2:-2:::" would require having the passwd source specified as "compat" in nsswitch.conf.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The behaviour of your system sounds like you might have nsswitch.conf settings like:&lt;/P&gt;&lt;PRE&gt;passwd: nis [NOTFOUND=return] files&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;This would use /etc/passwd if nis.client is stopped, but when nis.client is running successfully, it would use NIS information only. If the requested data was not found in the NIS, a failure would be returned even though /etc/passwd might contain valid data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Run "ypcat passwd | grep '^root:'" if there is no output, then the NIS data does not include the root account. With a nsswitch.conf settings like above, that would explain why things seem to break for root as soon as the nis.client is started.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Dec 2012 07:23:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-master-and-clients-process-and-files-owner-by-root/m-p/5900001#M529074</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2012-12-16T07:23:40Z</dc:date>
    </item>
  </channel>
</rss>

