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

ShineServers(5美元/月)荷兰VPS、阿联酋VPS首月五折/1核1G/50GB硬盘/3TB流量/1Gbps带宽

优惠码50SSDOFF 首月5折50WHTSSD 年付5折15OFF 85折优惠,可循环使用荷兰VPSCPU内存SSD带宽IPv4价格购买1核1G50G1Gbps/3TB1个$ 9.10/月链接2核2G80G1Gbps/5TB1个$ 12.70/月链接2核3G100G1Gbps/7TB1个$ 16.30/月链接3核4G150G1Gbps/10TB1个$ 18.10/月链接阿联酋VPSCPU内存SS...

wordpress外贸集团企业主题 wordpress高级推广外贸主题

wordpress外贸集团企业主题,wordpress通用跨屏外贸企业响应式布局设计,内置更完善的外贸企业网站优化推广功能,完善的企业产品营销展示 + 高效后台自定义设置。wordpress高级推广外贸主题,采用标准的HTML5+CSS3语言开发,兼容当下的各种主流浏览器,根据用户行为以及设备环境(系统平台、屏幕尺寸、屏幕定向等)进行自适应显示; 完美实现一套主题程序支持全部终端设备,保证网站在各...

Hostodo商家提供两年大流量美国VPS主机 可选拉斯维加斯和迈阿密

Hostodo商家算是一个比较小众且运营比较久的服务商,而且还是率先硬盘更换成NVMe阵列的,目前有提供拉斯维加斯和迈阿密两个机房。看到商家这两年的促销套餐方案变化还是比较大的,每个月一般有这么两次的促销方案推送,可见商家也在想着提高一些客户量。毕竟即便再老的服务商,你不走出来让大家知道,迟早会落寞。目前,Hostodo有提供两款大流量的VPS主机促销,机房可选拉斯维加斯和迈阿密两个数据中心,且都...

telnetd为你推荐
wmiprvsewmiprvse.exe是什么进程查字网騳骉,怎样读?拼音oracle索引Oracle中有多少种索引类型flowplayerswfobject.js这能不能播放音频啊(amr)flowplayer如何编译flowplayer源码spawningVC中Error spawning cl.exe错误的解决方法.色库赤峰中色库博红烨锌业有限公司就是冶炼厂在 赤峰的 什么地方,一 人知道吗???弹幕网站求弹幕网邀请码!清除电脑垃圾怎样清除电脑里的垃圾medias请帮我详细解释一下 chronological order和in medias res
免费网站域名申请 域名注册信息查询 lamp namecheap 68.168.16.150 wdcp 远程登陆工具 免费网站申请 服务器合租 umax120 hdd 服务器监测 电信主机 web服务器安全 paypal注册教程 东莞服务器 卡巴斯基是免费的吗 创建邮箱 国内域名 photobucket 更多