文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>ubuntu 下telnet服务配置

ubuntu 下telnet服务配置

时间:2010-10-11  来源:allxm

1,安装服务apt-get install xinetd telnetd. 2,安装成功后编辑/etc/inetd.conf文件,
# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/
defaults
{

    instances = 60
    log_type = SYSLOG authpriv
    log_on_success = HOST PID
    log_on_failure = HOST
    cps = 25 30
}
includedir /etc/xinetd.d
3,修改文件/etc/xinetd.d/telnet文件:

# default: on
# description: The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
service telnet
{
    disable = no
    flags = REUSE
    socket_type = stream
    wait = no
    user = root
    server = /usr/sbin/in.telnetd
    log_on_failure += USERID
}
4,重启telnet服务:/etc/init.d/xinetd restart。
5,查看当前网络状态:netstat -tnlup,查看端口号23状态为LISTEN则telnet服务即被开启。
相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载