⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 doc042.htm

📁 Reh Hat user manual. really goooood
💻 HTM
字号:
<html><body><a href="doc043.html"><img src=../icons/next.gif alt="Next"></a><a href="doc000.html"><img src=../icons/up.gif alt="Up"></a><a href="doc041.html"><img src=../icons/previous.gif alt="Previous"></a><a href="doc000.html"><img src=../icons/contents.gif alt="Contents"></a><a href="doc123.html"><img src=../icons/index.gif alt="Index"></a><hr><h2><a name="s5.6">5.6 Controlling Access to Services</a></h2><title>Controlling Access to Services</title><p>As a security measure, most network services are managed by a protectiveprogram called a <em>TCP wrapper</em>.  The protected services are those listedin <tt>/etc/inetd.conf</tt> that specify <tt>/usr/sbin/tcpd</tt>.  <tt>tcpd</tt>can allow or deny access to a service based on the origin of the request,and the configuration in <tt>/etc/hosts.allow</tt> and <tt>/etc/hosts.deny</tt>.<a name="i130"> <a name="i131"> <a name="i132">By default Red Hat Linux allows all service requests.  To disableor limit services you can edit <tt>/etc/hosts.allow</tt>.  Here is an example<tt>/etc/hosts.allow</tt> file:<p><a name="i133"> <blockquote><pre>ALL: redhat.com .redhat.comin.talkd: ALLin.ntalkd: ALLin.fingerd: ALLin.ftpd: ALL</pre></blockquote><p>This configuration allows all connections from <tt>redhat.com</tt> and<tt>*.redhat.com</tt> machines.  It also allows talk, finger, and ftprequests from all machines.<p><tt>tcpd</tt> allows much more sophisticated access control, using acombination of <tt>/etc/hosts.allow</tt> and <tt>/etc/hosts.deny</tt>.Read the tcpd(8) and hosts_access(5) man pages for complete details.<p><p><hr><a href="doc043.html"><img src=../icons/next.gif alt="Next"></a><a href="doc000.html"><img src=../icons/up.gif alt="Up"></a><a href="doc041.html"><img src=../icons/previous.gif alt="Previous"></a><a href="doc000.html"><img src=../icons/contents.gif alt="Contents"></a><a href="doc123.html"><img src=../icons/index.gif alt="Index"></a><hr></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -