zoukankan      html  css  js  c++  java
  • xinetd

    最简安装centos6.4时,xinetd服务是没有安装的,只是在/etc下有xinetd.d目录, 没有xinetd.conf这个配置文件

    xinetd is a secure replacement for inetd in higher centos version

    after "xinetd" package has been installed, the file xinetd.conf is added in the /etc directory.

     大多数常用的重要服务如sshd,httpd等都是独立服务常驻内存的

    xinetd主要是用来管理一些不怎么常用的、小的、本身安全性不高的服务,如telnet,rsync,cvs等

    现在的远程管理大多用sshd来做,这个比telnet(明文传送)更安全

    telnet服务端的安装:yum install telnet-server

    用xinetd.d来管理telnet服务:

      启动:vi /etc/xinetd.d/telnet,  修改 service telnet{ ...  disable=no }

        然后要重启xinetd: service xientd restart

        用netstat -tua可以看到本地的23号端口处于侦听状态

      telnet的自启动: chkconfig telnet on/off

    一般服务的启动(当前状态下生效)和自启动(chkconfig来配,下次启动时生效)是严格区分的,

    而xinetd管理的服务“启动”和“自启动”是相通的: 两者之中,任何一个启动,另一个也启动;任何一个停止,另一个也跟着停止

    ------

  • 相关阅读:
    通信编程:WSAEventSelect 模型通信
    VMware 安装 Red Hat 6 虚拟机
    通信编程:Select 模型通信
    Android:隐式 Intent 调用标准 Action
    Android:显式 Intent
    Linux(CentOS)用户修改密码有效期
    linux 系统中断信息
    qt udp 聊天
    docker更改镜像存储位置
    通过dockerfile构建singularity镜像
  • 原文地址:https://www.cnblogs.com/bkylee/p/4881513.html
Copyright © 2011-2022 走看看