偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

淺談krb5-telnet問題的解決方法

網(wǎng)絡 網(wǎng)絡管理
文中我們對krb5-telnet的相關問題進行了講解。那么其中的一些配置問題我們已經(jīng)給出了解決方法,希望對大家有所幫助。那么具體內(nèi)容請瀏覽正文。

Telnet的遠程服務,是很多企業(yè)都需要的。不少管理員也是非常關注這方面的學習。那么針對Linux系統(tǒng)的多樣版本,如何Telnet?那么今天我們對這個系統(tǒng)的krb5-telnet問題進行一下講解。那么具體我們從兩方面來解決:

一、關閉selinux  (setenforce  0)影響不大

二、關閉防火墻    (iptables -F 或service iptables stop)

Red Hat Enterprise Linux 5 telnet開啟過程

1、確定你的telnet服務打開沒有:

  1. [root@111 ~]# chkconfig --list|grep telnet  
  2. ekrb5-telnet: off  
  3. krb5-telnet: off  
  4. [root@111 ~]#  
  5. 注意檢查結(jié)果這里是關閉狀態(tài) 

2、打開telnet服務:

  1. [root@111 ~]# chkconfig krb5-telnet on  
  2. [root@111 ~]# chkconfig --list|grep telnet  
  3. ekrb5-telnet: off  
  4. krb5-telnet: on  
  5. 檢查已經(jīng)被打開了 

3、修改登陸文件securetty,主要增加要登陸的終端點

  1. [root@111 ~]# vi /etc/securetty  
  2. 增加如下幾行:  
  3. pts/1  
  4. pts/2  
  5. pts/3  
  6. pts/4  
  7. pts/5  
  8. …… 

(或者取用此方法:mv /etc/securetty   /etc/securetty.bak 將文件去除)保存退出即可,此時只能以非根用戶登陸,如要以root用戶登陸,下文會有說明.注意:如果同時將chkconfig ekrb5-telnet on.會提示Unencrypted connection refused. Goodbye.Connection closed by foreign host.

看錯誤信息好像是說的為加密的連接被拒絕,查看了他的配置文件也沒發(fā)現(xiàn)有什么關于加密的選項,而且配置文件也很正確,于是到google上去搜索了一大圈,***終于找到一個老外寫的一個解決方法:

I really needed a bit of guidance and you provided it./sbin/chkconfig --list |grep telnetThe above command told me I had both krb5-telnet and ekrb5-telnet, andalso the installed telnet all on. Initially I did not know what theywere all for. After turning them on and off and testing my telnetconnection from another box I realised that "ekrb5-telnet" was theencrypted telnet server that I needed to turn off to run "krb-telnet"which allowed non-encrypted telnet connections.eg /sbin/chkconfig ekrb5-telnet offThanks for your help.

原來ekrb5-telnet是一個需要加密的telnet服務,必須有Kerberos服務器才行,把這個服務啟動上當然就需要加密了.解決方法:將 /etc/xinetd.d/ekrb5-telnet里面的disable改成=yes,再重啟xinetd服務service xinetd restart就OK了!相當于將ekrb5-telnet關掉而已,注意service是紅帽系列的命令,非標準命令,相應操作可以如下實現(xiàn):/etc/init.d/xinetd restart."/etc/xinetd.d/ekrb5-telnet"/etc/xinetd.d/守護進程的啟動位置.

內(nèi)容自出:http://blog.163.com/mail_zcw/blog/static/412607742008413114453290/

責任編輯:佟健 來源: 博客園
相關推薦

2010-07-15 14:01:12

telnet亂碼

2009-07-09 17:14:11

Incompatibl

2010-07-21 15:14:59

不能telnet服務器

2011-05-18 14:00:30

在線備份

2009-06-17 15:33:50

java heap s

2009-09-10 09:35:25

Linq語句

2018-11-01 15:26:38

開源軟件安全

2009-07-24 10:42:28

CLR線程池

2010-02-23 13:07:07

CentOS gcc

2009-06-12 11:06:56

Java heap s

2009-07-01 18:14:36

JSP亂碼

2009-02-26 11:13:41

Weblogic中間件JSP

2010-10-15 11:22:24

MySQL復制表結(jié)構(gòu)

2011-05-06 17:25:58

硒鼓

2020-08-12 12:10:31

前端開發(fā)技術

2009-11-26 10:32:31

Suse配置Telne

2010-07-15 14:40:42

AIX TELNET

2010-11-26 11:40:19

MySQL字符串大小寫

2022-04-02 20:27:30

ETS操作系統(tǒng)鴻蒙

2009-12-28 10:56:45

WPF Image
點贊
收藏

51CTO技術棧公眾號