this is a extra element for clear the floated element
远程telnet登录进linux
  • 12/31
  • 2008
网络配置 | Linux 4101 次查看
  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直接远程登陆