telnetdubuntu打开telnet服务具体步骤

telnetd  时间:2021-07-14  阅读:()

如何启动ubuntu下的telnet服务

步骤如下: 在终端输入命令:sudo apt-get install d d 安装成功后,系统会显示有相应得提示 运行: sudo vi /etc/d.conf 并加入以下一行 stream tcp nowait d /usr/sbin/tcpd /usr/sbin/d 输入sudo vi /etc/d.conf并加入内容: # Simple configuration file for d # # Some defaults, and include /etc/d.d/ defaults { # Please note that you need a log_type line to be able to use log_on_ess # and log_on_failure. The default is the following : # log_type = SYSLOG daemon info instances = 60 log_type = SYSLOG authpriv log_on_ess = HOST PID log_on_failure = HOST cps = 25 30 } includedir /etc/d.d sudo vi /etc/d.d/并加入以下内容: # default: on # description: The server serves sessions; it uses # unencrypted username/password pairs for authentication. service { disable = no flags = REUSE socket_type = stream wait = no user = root server = /usr/sbin/d log_on_failure += USERID } 重启机器或重启网络服务sudo /etc/init.d/d restart 使用TELNET客户端远程登录; ifconfig -a //// 显示本机地址。

怎么设置root用户使用telnet远程登录linux

1.启用root 默认ubuntu的超级管理员用户(root)是被禁止掉了的,我首先得启用它。

输入命令:sudo passwd,然后输入root密码。

2.安装服务 输入命令:sudo apt-get install d d 3.启用服务 修改 /etc/d.conf文件,只需取消下面一行注释掉即可。

# stream tcp nowait d /usr/sbin/tcpd /usr/sbin/d 4.允许root用户登录 有两种方法: (1)输入命令:mv /etc/securetty /etc/securetty.bak (2)修改/etc/pam.d/login这个文件。

只需将下面一行注释一下即可。

#auth required lib/security/pam_securetty.so

hosts deny 怎么解决

hosts.allow与hosts.deny设置方法如下:   这两个文件均在/etc/目录下,其中优先级为先检查hosts.deny,再检查hosts.allow,后者设定可越过前者限制,例如:   1.限制所有的ssh,   除非从218.64.87.0——127上来。

  hosts.deny:   in.sshd:ALL   hosts.allow:   in.sshd:218.64.87.0/255.255.255.128   2.封掉218.64.87.0——127的   hosts.deny   in.sshd:218.64.87.0/255.255.255.128   3.限制所有人的TCP连接,除非从218.64.87.0——127访问   hosts.deny   ALL:ALL   hosts.allow   ALL:218.64.87.0/255.255.255.128   4.限制218.64.87.0——127对所有服务的访问   hosts.deny   ALL:218.64.87.0/255.255.255.128   其中冒号前面是TCP daemon的服务进程名称,通常系统   进程在/etc/d.conf中指定,比如in.ftpd,d,in.sshd   其中IP地址范围的写法有若干中,主要的三种是:   1.网络地址——子网掩码方式:   218.64.87.0/255.255.255.0   2.网络地址方式(我自己这样叫,呵呵)   218.64.(即以218.64打头的IP地址)   3.缩略子网掩码方式,既数一数二进制子网掩码前面有多少个“1”比如:   218.64.87.0/255.255.255.0《====》218.64.87.0/24

怎么设置mss的telnet的密码?

openmss 的 d 不检查密码,需要密码登入的话,安装 ssh。

默认的 root 口令为空,用 tmpuserchgpw 修改 root 口令,否则不能使用 root 身份登入。

等 ssh 工作正常后,killall d。

如何启动linux的telnet服务

1。

如果安装了、-server的rpm包,就跳到2。

,否则安装这个包。

2。

修改服务配置文件 vi /etc/d.d/ service {disable = yes flags = REUSE socket_type = streamwait = nouser = root server = /usr/sbin/d log_on_failure += USERID}将disable=yes行前加#,或者改为disable=no 3。

重新启动d守护进程 由于服务也是由d守护的,所以安装完-server,要启动服务就必须重新启动d [root@localhost root]#service d restart 4。

关闭系统的防火墙 linux系统默认的防火墙是“high”。

(方法:[root@localhost root]# setup 选择:“firewall configuration” 选择:security level——“no firewall”) 5。

如果想允许root以登入linux主机?因为 不是很安全,自然预设的情況之下就是无法允许 root 以 登入 Linux 主机!想要开放 root 以 登入 Linux 主机的话,可以这样做: 在 auth required /lib/security/pam_securetty.so 这行前加 # ,即把这行注释掉就行

ubuntu打开telnet服务具体步骤

1. sudo apt-get install d d   2. 安装成功后,系统也会有相应提示,   sudo vi /etc/d.conf并加入以下一行    stream tcp nowait d /usr/sbin/tcpd /usr/sbin/d   3. sudo vi /etc/d.conf并加入以下内容:   # Simple configuration file for d   #   # Some defaults, and include /etc/d.d/   defaults   {   # Please note that you need a log_type line to be able to use   log_on_ess   # and log_on_failure. The default is the following :   # log_type = SYSLOG daemon info   instances = 60   log_type = SYSLOG authpriv   log_on_ess = HOST PID   log_on_failure = HOST   cps = 25 30   }   includedir /etc/d.d   4. sudo vi /etc/d.d/并加入以下内容:   # default: on   # description: The server serves sessions; it uses   # unencrypted username/password pairs for authentication.   service   {   disable = no   flags = REUSE   socket_type = stream   wait = no   user = root   server = /usr/sbin/d   log_on_failure += USERID   }   5. 重启机器或重启网络服务sudo /etc/init.d/d restart   6. 使用TELNET客户端远程登录即可进行非root用户访问。

  7.使用root登录: mv /etc/securetty /etc/securetty.bak 这样root可以登录   了。

也可这样:   修改/etc/pam.d/login这个文件。

只需将下面一行注释掉即可。

  #auth required lib/security/pam_securetty.so   8. 详细配制/etc/d.d/   service   {   disable =no   bind =192.168.1.2   only_from=192.168.1.0/24   #上面这两行说明仅提供内部网段!   Instance =UNLIMITED   Nice =0   Flags =REUSE   socket_type=stream   wait =no   user =root   #server =/usr/sbin/d   server =/usr/sbin/d   server_args =-a none   log_on_failure +=USERID   }   service   {   disable =no   bind =140.116.142.196   only_from=140.116.0.0/16   no_ess=140.116.32.{10,26}   #上面三行设置外部较为严格的限制   instance =10   umask =022   nice =10   flags =REUSE   socket_type=stream   wait =no   user =root   #server =/usr/sbin/d   server =/usr/sbin/d   log_on_failure +=USERID   }   9.加设防火墙iptables:   如果想要针对192.168.0.0/24这个网段及61.xxx.xxx.xxx这个IP进行开放,   可以增加下面几行规则:   /sbin/iptables -A INPUT -p tcp -i eth0 -s 192.168.0.0/24 --dport 23 -j   ACCEPT   /sbin/iptables -A INPUT -p tcp -i eth0 -s 61.xxx.xxx.xxx --dport 23 -j   ACCEPT   /sbin/iptables -A INPUT -p tcp -i eth0 --dport 23 -j DROP   10.加设防火墙/etc/hosts.allow(deny)机制:   上面开放了192.168.0.0/24这个网段,但是如果您只想让其中的   192.168.0.1~192.168.0.5进入,可以设置如下 :   vi /etc/hosts.allow   d:192.168.0.1,192.168.0.2,192.168.0.3,192.168.0.4,192.168.0.5:allow   *原文地址* /ic.php?t=85766&sid=0bc7ab9a2c7c0418b   site : /u1/39518/showart_415036.html   *UBUNTU开启TELNET服务*   1. sudo apt-get install d d   2. 安装成功后,系统也会有相应提示(好象710才有,610就没看到),   sudo vi /etc/d.conf并加入以下一行    stream tcp nowait d /usr/sbin/tcpd /usr/sbin/d   3. sudo vi /etc/d.conf并加入以下内容:   # Simple configuration file for d   #   # Some defaults, and include /etc/d.d/   defaults   {   # Please note that you need a log_type line to be able to use   log_on_ess   # and log_on_failure. The default is the following :   # log_type = SYSLOG daemon info   instances = 60   log_type = SYSLOG authpriv   log_on_ess = HOST PID   log_on_failure = HOST   cps = 25 30   }   includedir /etc/d.d   4. sudo vi /etc/d.d/并加入以下内容:   # default: on   # description: The server serves sessions; it uses   # unencrypted username/password pairs for authentication.   service   {   disable = no   flags = REUSE   socket_type = stream   wait = no   user = root   server = /usr/sbin/d   log_on_failure += USERID   }   5. 重启机器或重启网络服务sudo /etc/init.d/d restart   6. 使用TELNET客户端远程登录;ifconfig -a显示本机地址;

云基最高500G DDoS无视CC攻击(Yunbase),洛杉矶CN2GIA、国内外高防服务器

云基成立于2020年,目前主要提供高防海内外独立服务器用户,欢迎各类追求稳定和高防优质线路的用户。业务可选:洛杉矶CN2-GIA+高防(默认500G高防)、洛杉矶CN2-GIA(默认带50Gbps防御)、香港CN2-GIA高防(双向CN2GIA专线,突发带宽支持,15G-20G DDoS防御,无视CC)、国内高防服务器(广州移动、北京多线、石家庄BGP、保定联通、扬州BGP、厦门BGP、厦门电信、...

ZJI(月付480元),香港阿里云专线服务器

ZJI是成立于2011年原Wordpress圈知名主机商—维翔主机,2018年9月更名为ZJI,主要提供香港、日本、美国独立服务器(自营/数据中心直营)租用及VDS、虚拟主机空间、域名注册业务。本月商家针对香港阿里云线路独立服务器提供月付立减270-400元优惠码,优惠后香港独立服务器(阿里云专线)E3或者E5 CPU,SSD硬盘,最低每月仅480元起。阿里一型CPU:Intel E5-2630L...

速云:广州移动/深圳移动/广东联通/香港HKT等VDS,9折优惠,最低月付9元;深圳独立服务器1050元/首月起

速云怎么样?速云,国人商家,提供广州移动、深圳移动、广州茂名联通、香港hkt等VDS和独立服务器。现在暑期限时特惠,力度大。广州移动/深圳移动/广东联通/香港HKT等9折优惠,最低月付9元;暑期特惠,带宽、流量翻倍,深港mplc免费试用!点击进入:速云官方网站地址速云优惠码:全场9折优惠码:summer速云优惠活动:活动期间,所有地区所有配置可享受9折优惠,深圳/广州地区流量计费VDS可选择流量翻...

telnetd为你推荐
onboardon board是什么意思?weakhashmapJava///map的父类是?云图片简单易学画的云彩图片mindmanager破解版xmind mac破解版哪个好用deviceid如何查看自己安卓手机的Android Device ID备忘录模式手机如何设置备忘录提醒索引超出了数组界限求助大神什么叫索引超出了数组界限丁奇赛尔号丁奇技能表,带等级,刷什么学习力好?vipjrvipjr英语怎么样?靠谱吗?spawning为什么编译和运行vc++ 时会出现Error spawning c1.exe 的错误
最新代理服务器 pw域名 青果网 typecho 地址大全 申请空间 777te 卡巴斯基官方免费版 100m独享 百度云1t 四核服务器 多线空间 shopex主机 免费mysql数据库 申请网站 双线asp空间 移动服务器托管 空间登陆首页 空间登入 徐州电信 更多