Linux安装telnet服务
来源:互联网 发布:java键盘 上下左右监听 编辑:程序博客网 时间:2024/05/16 17:41
1.安装软件
sudo apt-get install xinetd telnetd
2.新建/etc/inetd.conf
:
telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd
3.编辑/etc/xinetd.conf
文件:
# Simple configuration file for xinetd## Some defaults, and include /etc/xinetd.d/defaults{# Please note that you need a log_type line to be able to use log_on_success# and log_on_failure. The default is the following :# log_type = SYSLOG daemon info instances = 60log_type = SYSLOG authprivlog_on_success = HOST PIDlog_on_failure = HOSTcps = 25 30}includedir /etc/xinetd.d
4.新建文件/etc/xinetd.d/telnet
:
# default: on# description: The telnet server serves telnet sessions; it uses# unencrypted username/password pairs for authentication.service telnet{disable = noflags = REUSEsocket_type = streamwait = nouser = rootserver = /usr/sbin/in.telnetdlog_on_failure += USERID}
5.重启网络服务
sudo /etc/init.d/xinetd restart
6.此时仅可以使用非root用户登陆,如果要使用root登录,执行:
mv /etc/securetty /etc/securetty.bak
阅读全文
0 0
- linux安装telnet服务
- linux 安装telnet服务
- Linux安装telnet服务
- Linux下安装telnet 服务
- Linux 安装开启telnet服务
- Linux下安装telnet服务
- linux安装telnet服务(server)
- linux系统下安装配置telnet服务和telnet客户端
- SuSE Linux下安装配置telnet服务
- linux下的telnet服务安装
- 在linux中配置安装telnet服务
- Linux下安装telnet-server服务
- Redhat Linux telnet服务安装配置
- 在linux中配置安装telnet服务
- Linux下安装、开启Telnet服务
- 在linux中配置安装telnet服务
- linux redhat安装,开启telnet服务
- Linux下安装、开启Telnet服务
- Bagging和Boosting概念以及区别
- ProGuard混淆配置
- Redis源码分析(intset)
- SWP文件详细介绍与利用
- leetCode-Combination Sum III
- Linux安装telnet服务
- php 简单token签权验证
- All in All, UVa 10340
- httpClient技术发送带有文件,文本内容的信息
- 11.29R-naive 和knn和雨哥
- centos 6.5安装VMware tools
- linux汇编学习(2)-----摆脱MBR大小的限制,加载stage2代码
- osip2添加多个不同类型body
- leetCode-Find the Duplicate Number