<?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: Disabling users in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/disabling-users/m-p/3225481#M10835</link>
    <description>I checked Marcin's option and it works like miracle.Not that my advise is bad , but Marcin's solution is much simpler, so I guess he deserves 10 points.&lt;BR /&gt;&lt;BR /&gt;Simply add &lt;BR /&gt;AllowUsers  username&lt;BR /&gt;&lt;BR /&gt;line to a file /etc/ssh/sshd_config&lt;BR /&gt;&lt;BR /&gt;when username is the username you wish to allow access.&lt;BR /&gt;then you have to restart the sshd service &lt;BR /&gt;service sshd restart&lt;BR /&gt;</description>
    <pubDate>Tue, 23 Mar 2004 11:12:24 GMT</pubDate>
    <dc:creator>Alexander Chuzhoy</dc:creator>
    <dc:date>2004-03-23T11:12:24Z</dc:date>
    <item>
      <title>Disabling users</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disabling-users/m-p/3225476#M10830</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I want to Disable Few Users Logins thru SSH.&lt;BR /&gt;I don't want to use any other Tools.&lt;BR /&gt;&lt;BR /&gt;Is there any soln. for this.&lt;BR /&gt;&lt;BR /&gt;Thanks in Advance&lt;BR /&gt;Vijay S&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Mar 2004 09:01:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disabling-users/m-p/3225476#M10830</guid>
      <dc:creator>Vijayakumar  S</dc:creator>
      <dc:date>2004-03-22T09:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling users</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disabling-users/m-p/3225477#M10831</link>
      <description>&lt;BR /&gt;add the next line in /etc/pam.d/sshd under the last "auth" statement:&lt;BR /&gt;"auth required pam_listfile.so item=user sense=deny file=/etc/pam.allow.sshd onerr=fail"&lt;BR /&gt;edit the file /etc/pam.allow.sshd and add all user you want to deny ssh access from.&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Mar 2004 09:29:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disabling-users/m-p/3225477#M10831</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2004-03-22T09:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling users</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disabling-users/m-p/3225478#M10832</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply.  But these files are not there.  I think we have to create the pam.allow file etc.&lt;BR /&gt;&lt;BR /&gt;Could you give me the tips in detail.&lt;BR /&gt;&lt;BR /&gt;Is there any other method to disable users&lt;BR /&gt;logins.  But they have to SU to that account.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;vijay s</description>
      <pubDate>Tue, 23 Mar 2004 05:27:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disabling-users/m-p/3225478#M10832</guid>
      <dc:creator>Vijayakumar  S</dc:creator>
      <dc:date>2004-03-23T05:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling users</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disabling-users/m-p/3225479#M10833</link>
      <description>if the files are not there-then you don't have the pam package installed.&lt;BR /&gt;It comes with installation cd. Just locate the rpm file and then install it. &lt;BR /&gt;rpm -ivh pam-version.rpm&lt;BR /&gt;&lt;BR /&gt;will install the package.</description>
      <pubDate>Tue, 23 Mar 2004 06:31:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disabling-users/m-p/3225479#M10833</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2004-03-23T06:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling users</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disabling-users/m-p/3225480#M10834</link>
      <description>You can use AllowUsers and DenyUsers options in your sshd_config file (usually in /etc/ssh).  Check sshd_config(5) man page for details.&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Mar 2004 06:32:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disabling-users/m-p/3225480#M10834</guid>
      <dc:creator>Marcin Golembski_1</dc:creator>
      <dc:date>2004-03-23T06:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling users</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disabling-users/m-p/3225481#M10835</link>
      <description>I checked Marcin's option and it works like miracle.Not that my advise is bad , but Marcin's solution is much simpler, so I guess he deserves 10 points.&lt;BR /&gt;&lt;BR /&gt;Simply add &lt;BR /&gt;AllowUsers  username&lt;BR /&gt;&lt;BR /&gt;line to a file /etc/ssh/sshd_config&lt;BR /&gt;&lt;BR /&gt;when username is the username you wish to allow access.&lt;BR /&gt;then you have to restart the sshd service &lt;BR /&gt;service sshd restart&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Mar 2004 11:12:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disabling-users/m-p/3225481#M10835</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2004-03-23T11:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling users</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disabling-users/m-p/3225482#M10836</link>
      <description>I don't know about simpler.  It depends if the allow/deny list is going to be dynamic.&lt;BR /&gt;&lt;BR /&gt;If it is going to change alot, then your (alexander's) will work better, as it doesn't requrie a re-start of the SSH daemon every time a change is made.&lt;BR /&gt;&lt;BR /&gt;It's just a question of ongoing maintenance.</description>
      <pubDate>Tue, 23 Mar 2004 18:49:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disabling-users/m-p/3225482#M10836</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2004-03-23T18:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling users</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disabling-users/m-p/3225483#M10837</link>
      <description>Dear ALL,&lt;BR /&gt;&lt;BR /&gt;Thanks for thouse who send the answers to me.&lt;BR /&gt;Yes Marcin Golembski is Right in his Answer.&lt;BR /&gt;&lt;BR /&gt;But when i disable the user it works perfectly fine.  But the hole is that he is now telnetting.&lt;BR /&gt;&lt;BR /&gt;So I have to stop Telnet too. &lt;BR /&gt;&lt;BR /&gt;Any Soln.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Vijay S</description>
      <pubDate>Wed, 24 Mar 2004 05:05:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disabling-users/m-p/3225483#M10837</guid>
      <dc:creator>Vijayakumar  S</dc:creator>
      <dc:date>2004-03-24T05:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling users</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disabling-users/m-p/3225484#M10838</link>
      <description>Are you trying to disable ALL access to the machine for a given user? Do you use NIS or local passwd file? You could remove the user from /etc/passwd or set a /bin/false shell in the /etc/passwd file. If you use NIS, you could use compat mode and explicitly deny the user. depends on what you are trying to do...</description>
      <pubDate>Wed, 24 Mar 2004 10:39:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disabling-users/m-p/3225484#M10838</guid>
      <dc:creator>Paul Cross_1</dc:creator>
      <dc:date>2004-03-24T10:39:24Z</dc:date>
    </item>
  </channel>
</rss>

