ubuntu 12.04 安装telnet服务
2014-03-12 15:05
393 查看
1. sudo apt-get install xinetd telnetd
2. sudo vi /etc/inetd.conf, add the following line:-
telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd
#telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetd(备用)
3. sudo vi /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 = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}
includedir /etc/xinetd.d
4. sudo vi /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
}
5. sudo /etc/init.d/xinetd restart
refer to:-
/article/7727050.html
2. sudo vi /etc/inetd.conf, add the following line:-
telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd
#telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetd(备用)
3. sudo vi /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 = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}
includedir /etc/xinetd.d
4. sudo vi /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
}
5. sudo /etc/init.d/xinetd restart
refer to:-
/article/7727050.html
相关文章推荐
- ubuntu 12.04安装telnet和ssh服务
- ubuntu 12.04安装telnet和ssh服务
- ubuntu 12.04安装telnet和ssh服务
- ubuntu 12.04安装telnet和ssh服务
- ubuntu 12.04安装telnet和ssh服务 .
- ubuntu 12.04安装telnet和ssh服务
- ubuntu 12.04安装telnet和ssh服务
- ubuntu16.04安装telnet服务
- ubuntu 12.04安装telnet
- 在 Ubuntu 12.04 上安装和配置邮件服务
- ubuntu 12.04 安装telnet和ssh服务
- ubuntu 下telnet服务安装配置
- ubuntu下安装telnet/ssh和ftp服务
- 在ubuntu 12.04 上安装openstack 的glance服务问题
- ubuntu安装telnet服务
- 在Ubuntu 12.04安装和设置SSH服务
- ubuntu 12.04 下安装 、配置、启动 FTP、SSH、NFS服务
- 在Ubuntu 12.04安装和设置SSH服务
- 在Ubuntu 12.04安装和设置SSH服务
- Ubuntu 12.04 安装ssh服务