<?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: deney access to specific users with ssh in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/deney-access-to-specific-users-with-ssh/m-p/3138097#M154607</link>
    <description>passwd -l username&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;/var/adm/inetd.sec&lt;BR /&gt;&lt;BR /&gt;You should be able to block by username there.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Sun, 07 Dec 2003 23:41:49 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2003-12-07T23:41:49Z</dc:date>
    <item>
      <title>deney access to specific users with ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deney-access-to-specific-users-with-ssh/m-p/3138096#M154606</link>
      <description>We are trying to lock down our system and with that, we have started using ssh.&lt;BR /&gt;&lt;BR /&gt;How do we disable ssh login for specific users...</description>
      <pubDate>Sun, 07 Dec 2003 23:10:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deney-access-to-specific-users-with-ssh/m-p/3138096#M154606</guid>
      <dc:creator>Ratzie</dc:creator>
      <dc:date>2003-12-07T23:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: deney access to specific users with ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deney-access-to-specific-users-with-ssh/m-p/3138097#M154607</link>
      <description>passwd -l username&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;/var/adm/inetd.sec&lt;BR /&gt;&lt;BR /&gt;You should be able to block by username there.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 07 Dec 2003 23:41:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deney-access-to-specific-users-with-ssh/m-p/3138097#M154607</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-12-07T23:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: deney access to specific users with ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deney-access-to-specific-users-with-ssh/m-p/3138098#M154608</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;inetd.sec allows you to deny access to the hostname/s or ip address/es of the workstations. &lt;BR /&gt;&lt;BR /&gt;# ssh deny/allow [ip or range of ip]&lt;BR /&gt;# ssh deny/allow [hostname/s]&lt;BR /&gt;&lt;BR /&gt;In fact, I would also like to know how to disable certain services to specific user.&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Mon, 08 Dec 2003 00:05:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deney-access-to-specific-users-with-ssh/m-p/3138098#M154608</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2003-12-08T00:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: deney access to specific users with ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deney-access-to-specific-users-with-ssh/m-p/3138099#M154609</link>
      <description>I found the answer.&lt;BR /&gt;In sshd_config&lt;BR /&gt;&lt;BR /&gt;DenyUsers &lt;USER name=""&gt; &lt;USER name=""&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/USER&gt;&lt;/USER&gt;</description>
      <pubDate>Mon, 08 Dec 2003 12:23:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deney-access-to-specific-users-with-ssh/m-p/3138099#M154609</guid>
      <dc:creator>Ratzie</dc:creator>
      <dc:date>2003-12-08T12:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: deney access to specific users with ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deney-access-to-specific-users-with-ssh/m-p/3138100#M154610</link>
      <description>Another effective way is to use /etc/hosts.allow... and /etc/hosts.deny...&lt;BR /&gt;&lt;BR /&gt;You can configure it to only allow ranges and only certain IPs...&lt;BR /&gt;&lt;BR /&gt;here is a great link to it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://ezine.daemonnews.org/200206/hosts_allow.html" target="_blank"&gt;http://ezine.daemonnews.org/200206/hosts_allow.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Shows full syntax and application.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Be sure to put any "deny" statements ahead of an "allow all" statements... in the /etc/hosts.allow file...&lt;BR /&gt;&lt;BR /&gt;sshd : all : banners=/usr/localcw/opt/sysguard/banners : allow  &lt;BR /&gt;&lt;BR /&gt;In deny file, deny all:all. Use the hosts.allow to manage services as I have in my example.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# cat /etc/hosts.allow&lt;BR /&gt;#all : all : banners=/usr/localcw/opt/sysguard/banners : allow&lt;BR /&gt;ftpd : all : banners=/usr/localcw/opt/sysguard/banners : allow&lt;BR /&gt;telnetd : all : banners=/usr/localcw/opt/sysguard/banners : allow&lt;BR /&gt;tftpd : all : banners=/usr/localcw/opt/sysguard/banners : allow&lt;BR /&gt;logind : all : banners=/usr/localcw/opt/sysguard/banners : allow&lt;BR /&gt;rlogind : all : banners=/usr/localcw/opt/sysguard/banners : allow&lt;BR /&gt;remshd: all : banners=/usr/localcw/opt/sysguard/banners : allow&lt;BR /&gt;sidftpd : all : banners=/usr/localcw/opt/sysguard/banners : allow&lt;BR /&gt;rexecd : all : banners=/usr/localcw/opt/sysguard/banners : allow&lt;BR /&gt;sshd : all : banners=/usr/localcw/opt/sysguard/banners : allow  &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Dec 2003 13:20:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deney-access-to-specific-users-with-ssh/m-p/3138100#M154610</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2003-12-08T13:20:52Z</dc:date>
    </item>
  </channel>
</rss>

