<?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: Disable NIS logins in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-nis-logins/m-p/5060731#M738051</link>
    <description>Summary:&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; "+:*:::::" in /etc/passwd (where the * overrides NIS password entry)&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; "passwd: compat" in /etc/nsswitch.conf (compat allowes for the override, in oposition to "passwd: files nis" which accesses NIS directly).&lt;BR /&gt;&lt;BR /&gt;Kind Regards,&lt;BR /&gt;Frank.</description>
    <pubDate>Tue, 31 Jul 2007 08:33:16 GMT</pubDate>
    <dc:creator>Frank TImmers</dc:creator>
    <dc:date>2007-07-31T08:33:16Z</dc:date>
    <item>
      <title>Disable NIS logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-nis-logins/m-p/5060727#M738047</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;We have an HP/UX 11.11 system as NIS Authentication and Fileserver.&lt;BR /&gt;&lt;BR /&gt;The server is currently also configured as NIS client so the "ls -l" shows the users as owner instead of the numeric uid. &lt;BR /&gt;&lt;BR /&gt;We don't however want to allow the users to login to the server, only on the clients it exports the /home to.&lt;BR /&gt;&lt;BR /&gt;I've added the following line to /etc/passwd:&lt;BR /&gt;+:*:::::/bin/false&lt;BR /&gt;&lt;BR /&gt;NIS is however ignoring both the * in the password field and /bin/false in the shell allowing the users to login.&lt;BR /&gt;&lt;BR /&gt;Kind Regards,&lt;BR /&gt;Frank Timmers.</description>
      <pubDate>Tue, 31 Jul 2007 07:13:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-nis-logins/m-p/5060727#M738047</guid>
      <dc:creator>Frank TImmers</dc:creator>
      <dc:date>2007-07-31T07:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Disable NIS logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-nis-logins/m-p/5060728#M738048</link>
      <description>Hoi Frank,&lt;BR /&gt;&lt;BR /&gt;What if you remove the complete line starting with the +, in other words allow only local defined users to logon the system.&lt;BR /&gt;&lt;BR /&gt;Check the /etc/nsswitch.conf file for the line&lt;BR /&gt;passwd: compat&lt;BR /&gt;and change it into&lt;BR /&gt;passwd: files&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Tue, 31 Jul 2007 07:58:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-nis-logins/m-p/5060728#M738048</guid>
      <dc:creator>Robert-Jan Goossens_1</dc:creator>
      <dc:date>2007-07-31T07:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Disable NIS logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-nis-logins/m-p/5060729#M738049</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I think you have something like this in your /etc/nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;passwd:     files nis&lt;BR /&gt;&lt;BR /&gt;So your +: entry will be a no-op. To activate it, and so have overrides enabled, use&lt;BR /&gt;passwd: compat&lt;BR /&gt;&lt;BR /&gt;mfG Peter&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Jul 2007 08:10:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-nis-logins/m-p/5060729#M738049</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2007-07-31T08:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Disable NIS logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-nis-logins/m-p/5060730#M738050</link>
      <description>Hello Robert-Jan and Peter,&lt;BR /&gt;&lt;BR /&gt;Thanks for your replies.&lt;BR /&gt;&lt;BR /&gt;my /etc/nsswitch.conf indeed contained the line: "passwd: files nis"&lt;BR /&gt;&lt;BR /&gt;The solution was, as Peter said, to change this to: "passwd: compat"&lt;BR /&gt;&lt;BR /&gt;It now works as needed. NIS users are still resolved locally on the server, but not allowed to login (due to the overrides in the "+" line in the passwd).&lt;BR /&gt;&lt;BR /&gt;Kind Regards,&lt;BR /&gt;Frank Timmers.</description>
      <pubDate>Tue, 31 Jul 2007 08:27:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-nis-logins/m-p/5060730#M738050</guid>
      <dc:creator>Frank TImmers</dc:creator>
      <dc:date>2007-07-31T08:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Disable NIS logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-nis-logins/m-p/5060731#M738051</link>
      <description>Summary:&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; "+:*:::::" in /etc/passwd (where the * overrides NIS password entry)&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; "passwd: compat" in /etc/nsswitch.conf (compat allowes for the override, in oposition to "passwd: files nis" which accesses NIS directly).&lt;BR /&gt;&lt;BR /&gt;Kind Regards,&lt;BR /&gt;Frank.</description>
      <pubDate>Tue, 31 Jul 2007 08:33:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-nis-logins/m-p/5060731#M738051</guid>
      <dc:creator>Frank TImmers</dc:creator>
      <dc:date>2007-07-31T08:33:16Z</dc:date>
    </item>
  </channel>
</rss>

