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显示本机地址;

香港 1核1G 29元/月 美国1核 2G 36元/月 快云科技

快云科技: 11.11钜惠 美国云机2H5G年付148仅有40台,云服务器全场7折,香港云服务器年付388仅不到五折 公司介绍:快云科技是成立于2020年的新进主机商,持有IDC/ICP/ISP等证件资质齐全主营产品有:香港弹性云服务器,美国vps和日本vps,香港物理机,国内高防物理机以及美国日本高防物理机官网地址:www.345idc.com活动截止日期为2021年11月13日此次促销活动提供...

CloudCone2核KVM美国洛杉矶MC机房机房2.89美元/月,美国洛杉矶MC机房KVM虚拟架构2核1.5G内存1Gbps带宽,国外便宜美国VPS七月特价优惠

近日CloudCone发布了七月的特价便宜优惠VPS云服务器产品,KVM虚拟架构,性价比最高的为2核心1.5G内存1Gbps带宽5TB月流量,2.89美元/月,稳定性还是非常不错的,有需要国外便宜VPS云服务器的朋友可以关注一下。CloudCone怎么样?CloudCone服务器好不好?CloudCone值不值得购买?CloudCone是一家成立于2017年的美国服务器提供商,国外实力大厂,自己开...

韩国服务器租用优惠点评大全

韩国服务器怎么样?韩国云服务器租用推荐?韩国服务器距离中国近,有天然的地域优势,韩国服务器速度快而且非常稳定!有不少有亚洲市场的外贸公司选择韩国服务器开拓业务,韩国服务器因自身的优势也受到不少用户的青睐。目前的IDC市场上,韩国、香港、美国三个地方的服务器几乎占据了海外服务器的百分之九十以上。韩国服务器相比美国服务器来说速度更快,而相比香港机房来说则带宽更充足,占用市场份额非常大。那么,韩国服务器...

telnetd为你推荐
httpsessionhttpsession中的SessionID是如何生成的?开票系统防伪税控开票系统怎么安装?mindmanager破解版xmind mac破解版哪个好用spawning在c语言编译时出现Error spawning cl.exe,是怎么回事?有b吗34B的胸围有多大?清除电脑垃圾怎样清除电脑里的垃圾51信用卡论坛刚才发现51信用卡管家可以查个人征信了,就查了下信用卡信用记录。这是截图,大家帮我看看我的这个逾期图片存储怎么设置图片的保存类型药品标准查询《中华人民名共和国卫生部药品标准》【20080802】?toolstrip工具栏ToolStrip中图标的大小怎么改变
域名查询工具 韩国vps 花生壳域名贝锐 香港新世界电讯 北京主机 云鼎网络 国外在线代理 softbank邮箱 129邮箱 卡巴斯基破解版 四川电信商城 测试网速命令 江苏双线 香港ip 香港博客 学生机 腾讯云平台 亿库 服务器是什么 跟踪路由 更多