<?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: Restrict NIS users in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/restrict-nis-users/m-p/3615193#M19366</link>
    <description>&amp;gt;how to restrict nis users &lt;BR /&gt;can you provide more info about this?&lt;BR /&gt;</description>
    <pubDate>Wed, 31 Aug 2005 01:20:15 GMT</pubDate>
    <dc:creator>Vitaly Karasik_1</dc:creator>
    <dc:date>2005-08-31T01:20:15Z</dc:date>
    <item>
      <title>Restrict NIS users</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restrict-nis-users/m-p/3615192#M19365</link>
      <description>Hi All &lt;BR /&gt;&lt;BR /&gt;Can any body tell me how to restrict nis users to user Linux servers&lt;BR /&gt;OS version is Red Hat linux 9 &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Binu</description>
      <pubDate>Tue, 30 Aug 2005 22:29:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restrict-nis-users/m-p/3615192#M19365</guid>
      <dc:creator>Binu_5</dc:creator>
      <dc:date>2005-08-30T22:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict NIS users</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restrict-nis-users/m-p/3615193#M19366</link>
      <description>&amp;gt;how to restrict nis users &lt;BR /&gt;can you provide more info about this?&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Aug 2005 01:20:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restrict-nis-users/m-p/3615193#M19366</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2005-08-31T01:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict NIS users</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restrict-nis-users/m-p/3615194#M19367</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;I have an NIS server here and all the users &lt;BR /&gt;are configures in this Server...&lt;BR /&gt;NIS users will login to individual workstations ..Here all the NIS users  can login to all workstations .. I want to restrict some users accessing some workstations .. &lt;BR /&gt;&lt;BR /&gt;Is there any setting in the workstation side&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Binu</description>
      <pubDate>Wed, 31 Aug 2005 01:36:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restrict-nis-users/m-p/3615194#M19367</guid>
      <dc:creator>Binu_5</dc:creator>
      <dc:date>2005-08-31T01:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict NIS users</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restrict-nis-users/m-p/3615195#M19368</link>
      <description>netgroup can help you.&lt;BR /&gt;see &lt;A href="http://www.tldp.org/HOWTO/NIS-HOWTO/settingup_client.html" target="_blank"&gt;http://www.tldp.org/HOWTO/NIS-HOWTO/settingup_client.html&lt;/A&gt; for more.</description>
      <pubDate>Wed, 31 Aug 2005 01:47:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restrict-nis-users/m-p/3615195#M19368</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2005-08-31T01:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict NIS users</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restrict-nis-users/m-p/3615196#M19369</link>
      <description>Hi Binu,&lt;BR /&gt;&lt;BR /&gt;If it is NIS, then each NIS client would have "+" at the bottom of passwd and shadow files.  To remove a particular user such as jsmith, you would put "-jsmith" in passwd.  Alternatively, you could take out the "+" (which includes everyone) and put "+jsmith" to make jsmith the only user to be able to log on with an NIS account.  If you have user accounts you will never want to logon to clients, make the accounts UID a low number.  I don't remember what the lowest NIS UID is, but that is adjustable anyway.  You may have to look for that.</description>
      <pubDate>Wed, 31 Aug 2005 06:21:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restrict-nis-users/m-p/3615196#M19369</guid>
      <dc:creator>CSG Office</dc:creator>
      <dc:date>2005-08-31T06:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict NIS users</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restrict-nis-users/m-p/3615197#M19370</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;Please find the last lines of my password file &lt;BR /&gt;#+::0:0:::&lt;BR /&gt;+binuv &lt;BR /&gt;&lt;BR /&gt;I have added a user call +binuv at the &lt;BR /&gt;end of the line and hashed (#) the above line but still all the nis users can login to the system&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Binu&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Aug 2005 07:44:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restrict-nis-users/m-p/3615197#M19370</guid>
      <dc:creator>Binu_5</dc:creator>
      <dc:date>2005-08-31T07:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict NIS users</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restrict-nis-users/m-p/3615198#M19371</link>
      <description>To restrict users to specific workstations, you can use the pam_access module:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://susefaq.sourceforge.net/howto/pam.html" target="_blank"&gt;http://susefaq.sourceforge.net/howto/pam.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Enable pam_access in /etc/pam.d/system-auth and then configure the /etc/security/access.conf file.</description>
      <pubDate>Wed, 31 Aug 2005 08:19:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restrict-nis-users/m-p/3615198#M19371</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-08-31T08:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict NIS users</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restrict-nis-users/m-p/3615199#M19372</link>
      <description>Use netgroup file.&lt;BR /&gt;man netgroup for details.&lt;BR /&gt;&lt;BR /&gt;You can also put as follows in passwd file.&lt;BR /&gt;&lt;BR /&gt;-user_name1&lt;BR /&gt;-user_name2</description>
      <pubDate>Wed, 31 Aug 2005 08:27:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restrict-nis-users/m-p/3615199#M19372</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-08-31T08:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict NIS users</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restrict-nis-users/m-p/3615200#M19373</link>
      <description>When you have "passwd: files nis" in /etc/nsswitch.conf file you do not need to include + entry in /etc/passwd to allow for NIS logins. In that case all users with NIS accounts can login to the system.&lt;BR /&gt;&lt;BR /&gt;To be able to restrict interactive access to the system to a subset of the NIS users you can use the +/- semantics syntax in /etc/passwd as follows:&lt;BR /&gt;        +nisuser    ==&amp;gt; include the specified user from NIS passwd.byname&lt;BR /&gt;        -nisuser    ==&amp;gt; exclude the specified user&lt;BR /&gt;        +@netgroup  ==&amp;gt; include all users in the netgroup&lt;BR /&gt;        -@netgroup  ==&amp;gt; exclude all users in the netgroup&lt;BR /&gt;        +           ==&amp;gt; include everything, except excluded users&lt;BR /&gt;&lt;BR /&gt;To allow for this syntax in /etc/passwd the "compat" source should be used for passwd in /etc/nsswitch.conf. It reads /etc/passwd for getpwnam() functions and, if it finds +/- entries, invokes an appropriate source. In case you need to use it, the "compat" source also provides full +/- semantics for /etc/group.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Ross</description>
      <pubDate>Thu, 01 Sep 2005 00:43:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restrict-nis-users/m-p/3615200#M19373</guid>
      <dc:creator>Ross Minkov</dc:creator>
      <dc:date>2005-09-01T00:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict NIS users</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restrict-nis-users/m-p/3615201#M19374</link>
      <description>I've  added the following configuration in /etc/passwd file:&lt;BR /&gt;+@admin:::::::&lt;BR /&gt;-::::::::&lt;BR /&gt;&lt;BR /&gt;When users from other then admin netgroup are connecting to the host they get something like:&lt;BR /&gt;id: cannot find name for group ID 6553&lt;BR /&gt;id: cannot find name for user ID 925&lt;BR /&gt;&lt;BR /&gt;but they are still able to log in. Is there any way to prevent login permissions for these users?</description>
      <pubDate>Tue, 06 Sep 2005 10:54:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restrict-nis-users/m-p/3615201#M19374</guid>
      <dc:creator>Artur Shnayder</dc:creator>
      <dc:date>2005-09-06T10:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict NIS users</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restrict-nis-users/m-p/3615202#M19375</link>
      <description>Arthur,&lt;BR /&gt;&lt;BR /&gt;Try this:&lt;BR /&gt;&lt;BR /&gt;1. Only add the following to /etc/passwd:&lt;BR /&gt;&lt;BR /&gt;+@admin&lt;BR /&gt;&lt;BR /&gt;Remove any lines that have ::::...&lt;BR /&gt;Also make sure you don't have a "+" line in it.&lt;BR /&gt;&lt;BR /&gt;2. Add the following line to /etc/group:&lt;BR /&gt;&lt;BR /&gt;+&lt;BR /&gt;&lt;BR /&gt;3. Change you /etc/nsswitch.conf to have:&lt;BR /&gt;&lt;BR /&gt;passwd:    compat&lt;BR /&gt;shadow:    compat&lt;BR /&gt;group:     compat&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Ross</description>
      <pubDate>Tue, 06 Sep 2005 11:05:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restrict-nis-users/m-p/3615202#M19375</guid>
      <dc:creator>Ross Minkov</dc:creator>
      <dc:date>2005-09-06T11:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict NIS users</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restrict-nis-users/m-p/3615203#M19376</link>
      <description>"+" in the /etc/group file removed GID error message, all the rest is the same. &lt;BR /&gt;I forgot to mention that it's RHE3 update 4.&lt;BR /&gt;I guess the problem is somewhere in pam modules.</description>
      <pubDate>Tue, 06 Sep 2005 11:16:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restrict-nis-users/m-p/3615203#M19376</guid>
      <dc:creator>Artur Shnayder</dc:creator>
      <dc:date>2005-09-06T11:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict NIS users</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restrict-nis-users/m-p/3615204#M19377</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;I have added only one user in &lt;BR /&gt;/etc/security/access.conf like the following format &lt;BR /&gt;+:alphy but still other users can access the system &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Binu</description>
      <pubDate>Tue, 13 Sep 2005 01:04:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restrict-nis-users/m-p/3615204#M19377</guid>
      <dc:creator>Binu_5</dc:creator>
      <dc:date>2005-09-13T01:04:35Z</dc:date>
    </item>
  </channel>
</rss>

