找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 7564|回复: 16

[k2p] k2p开启telnet后怎么关闭

[复制链接]
按照a大的方法开启了telnet后,怎么关闭,输入a大的命令后,telnet还是能够连接,请教大神。
我的恩山、我的无线 The best wifi forum is right here.
恢复出厂好像就可以
来自微站
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

开之前备份,用完还原,不知道有没有用,我不记得了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
但是恢复出厂后开启的ssh也关闭了,我只想关闭telnet

点评

小白求稳,像这么个高大上的功能,许多人开都开不了,你为啥要关闭呢?  详情 回复 发表于 2017-8-25 08:46
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

试试 Shell 执行 telnetd_startup clear
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

不认真看帖……
后续如需取消telnet,可以编辑/etc/rc.local,加#号注释telnet行即可:
#/usr/sbin/telnetd -l /bin/login.sh
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

改个复杂点的密码就好啦。关不关无所谓了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
chaohua27 发表于 2017-8-22 14:57
不认真看帖……
后续如需取消telnet,可以编辑/etc/rc.local,加#号注释telnet行即可:
#/usr/sbin/telnet ...

/etc/rc.local #/usr/sbin/telnetd -l /bin/login.sh   是这样的命令吧,我试过不行啊
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
kafma 发表于 2017-8-22 15:30
改个复杂点的密码就好啦。关不关无所谓了

telnet没有密码,ssh可以设置密码的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

  1. sed -i '/telnetd/d' /etc/rc.local
复制代码
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

随风飘扬 发表于 2017-8-22 15:38
/etc/rc.local #/usr/sbin/telnetd -l /bin/login.sh   是这样的命令吧,我试过不行啊

!!!!
醉了!是要你编辑那个rc.local文件,在前面加个井号保存
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
chaohua27 发表于 2017-8-22 19:42
!!!!
醉了!是要你编辑那个rc.local文件,在前面加个井号保存

#/etc/rc.local 是这样就可以了吗
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
然后怎么保存,#/usr/sbin/telnetd -l /bin/login.sh这个命令什么意思
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

随风飘扬 发表于 2017-8-22 19:46
#/etc/rc.local 是这样就可以了吗

打开这个文件,能听懂么?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
#/usr/sbin/telnetd -l /bin/login.sh这个命令什么意思
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-5-3 05:46

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表