LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   rlogin failure for root in suse (https://www.linuxquestions.org/questions/linux-server-73/rlogin-failure-for-root-in-suse-607550/)

hunter_cao7 12-18-2007 03:03 AM

rlogin failure for root in suse
 
In SUSE, I rlogin from machine 'a' to machine 'b' , then other users can normal login, but the root user can't be . Even enter the correct password.

Similarly, I learned from 'b' to a, the proper relationship of trust to sign. Addition, rsh can operate normally. Will what's the reason for this?

Some lgoin LOG:
Code:

Dec 18 16:56:26 i2sz login[19547]: FAILED LOGIN SESSION FROM mis5 FOR root, Authentication failure
Specify: All normal before I changed ip , In this way the after such a change. (Using the hosts)

kilgoretrout 12-18-2007 10:31 AM

All linux distros I've seen are configured to forbid remote root logins for security reasons. The usual procedure is to login as an ordinary user and su to root from a console if you need root powers. The idea is that a remote attacker would have to crack two passwords instead of one in order to get root access to the system.

You can change that default behavior by editing some configuration files but I really don't recommend that. It would depend on what system suse uses for it's remote logins. Typically some form of ssh tunneling is used, in which case you would have to edit /etc/ssh/sshd_config by changing this line:

PermitRootLogin no

to:

PermitRootLogin yes

Again, I'm not real familiar with suse but the above is pretty standard for most linux distros.

hunter_cao7 12-18-2007 07:23 PM

rlogin failure
 
Hi

thanks!

What I am saying is `rlogin`, but not the `ssh`, and rlogin with the previous configuration, the only changes a hostname and IP,
Now whether rlogin host or IP can't connected to the root of another machine, Other user can be...


All times are GMT -5. The time now is 01:16 PM.