<?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 user logins when using NIS in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/restrict-user-logins-when-using-nis/m-p/4909711#M45808</link>
    <description>If you've got a fixed, known-list of allowed logins for these machines, then '/etc/pam.d/login' is your friend.&lt;BR /&gt;&lt;BR /&gt;Read the documentation (in '/usr/share/doc/pam-0*/txts/') with regards to 'pam_wheel' and 'pam_listfile'.&lt;BR /&gt;&lt;BR /&gt;One of these two will be able to restrict based on the user they are logging in as, or the group they belong to.</description>
    <pubDate>Wed, 29 Jun 2005 10:06:31 GMT</pubDate>
    <dc:creator>Stuart Browne</dc:creator>
    <dc:date>2005-06-29T10:06:31Z</dc:date>
    <item>
      <title>Restrict user logins when using NIS</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restrict-user-logins-when-using-nis/m-p/4909710#M45807</link>
      <description>I'm running RH 3 update 3 and want to restrict logins to our Admin team on our critcial servers. The systems are using NIS for password and group information. I created local logins for admins which work but need to disable the general users accounts from logging in. How can this be accomplished?  &lt;BR /&gt;(These servers are also NIS slave servers.)&lt;BR /&gt;  Thanks.</description>
      <pubDate>Wed, 29 Jun 2005 09:47:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restrict-user-logins-when-using-nis/m-p/4909710#M45807</guid>
      <dc:creator>David Spencer_1</dc:creator>
      <dc:date>2005-06-29T09:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict user logins when using NIS</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restrict-user-logins-when-using-nis/m-p/4909711#M45808</link>
      <description>If you've got a fixed, known-list of allowed logins for these machines, then '/etc/pam.d/login' is your friend.&lt;BR /&gt;&lt;BR /&gt;Read the documentation (in '/usr/share/doc/pam-0*/txts/') with regards to 'pam_wheel' and 'pam_listfile'.&lt;BR /&gt;&lt;BR /&gt;One of these two will be able to restrict based on the user they are logging in as, or the group they belong to.</description>
      <pubDate>Wed, 29 Jun 2005 10:06:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restrict-user-logins-when-using-nis/m-p/4909711#M45808</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-06-29T10:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict user logins when using NIS</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restrict-user-logins-when-using-nis/m-p/4909712#M45809</link>
      <description>You can modify the /etc/pam.d/login file an stack an listfile restriction, like this:&lt;BR /&gt;&lt;BR /&gt;auth     required       pam_listfile.so item=user sense=allow file=/etc/adminusers&lt;BR /&gt;onerr=fail&lt;BR /&gt;&lt;BR /&gt;So only users listed on /etc/adminusers will be allowed to login.</description>
      <pubDate>Wed, 29 Jun 2005 10:07:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restrict-user-logins-when-using-nis/m-p/4909712#M45809</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-06-29T10:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict user logins when using NIS</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restrict-user-logins-when-using-nis/m-p/4909713#M45810</link>
      <description>The /etc/pam.d/login edits work fine for my log in restrictions. Thanks for the assistance.</description>
      <pubDate>Wed, 29 Jun 2005 11:11:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restrict-user-logins-when-using-nis/m-p/4909713#M45810</guid>
      <dc:creator>David Spencer_1</dc:creator>
      <dc:date>2005-06-29T11:11:02Z</dc:date>
    </item>
  </channel>
</rss>

