首 页文章中心

Linux学习网

您的位置Linux学习网 > Linux服务器应用 > 文章内容

远程telnet登录进linux

作者:佚名  来源:不详  发布时间:2008-6-22 14:12:00
本文仅做参考学习

redhat7.3 server,为什么我一用root登录进linux,就说登录错误?

建议方法0:

1. 在服务配置里停掉iptables,选中telnet

2. 在/etc/securetty中加入两行或者三行

pts/0

pts/1

或者

pts/0

pts/1

pts/2

3. 在hosts.allow里加了in.telnetd:ALL

4. 在/etc/security/access.conf里加了:+:ALL:ALL

然后重启系统,就好了。

建议方法1:

在/etc/pam.d/login文件中,在

auth required /lib/security/pam_securetty.so

前面加一个#号,注释掉就行了!

建议方法2:

在/etc/securetty中加入pts/0,pts/1...各占一行,

并在/ect/security/access.conf中加入允许登录的终端IP

建议方法3:

I suggest you use putty.exe in windows.

先用普通用户帐号登陆,然后再 su - ,这个是最好也是最安全的方法。

linux一般不允许ROOT直接远程登陆
收藏本页到: 365Key | del.icio.us | | 添加到雅虎收藏+
  • 网站帮助 - 广告合作 - 网站地图