Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

rlogin,rexec.rsh ... in linux using suse 6.1

Posted on 2000-03-17
6
Medium Priority
?
1,059 Views
Last Modified: 2011-09-20
I am running suse linux 6.1, that I need to to remotely connect to it through exceed (Window Nt X-Server). My problem is I can not do remote login or execute ands what have you. I tried .rhosts, inted.conf none seem to work. In any other flaver of Unix/Linux after configuring (inetd.conf of .rhosts) works fine, any special configuring I need to do with suse 6.1

Alex Mesfin
Mn.
0
Comment
Question by:asmara
6 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 2630653
Can you telnet to the Linux machine from the NT box? Can you ping the machine ftom the NT box?
0
 

Author Comment

by:asmara
ID: 2630680
Yes, I can do all that.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2631374
Okay, then I expect that your problem is that you can't rlogin (and accordingly you can't use rsh) without providing a password, correct?

Do this, as an ordinary user, you can't be the root user for security reasons. Telnet from NT to the Linux system. when you get logged in do "who -l". That will tell you what hostname the Linux box sees as the remote NT system. If you only get an IP, linux can't resolve the IP of the NT  system to a hostname. You fix that by making an entry in /etc/hosts for the NT system's IP.

Once you've got the hostname (as Linux sees it) of the NT system, put that in "/.rhosts". If the username on the NT box is the same as your Linux username (and don't use a mixed case username as NT won't preserve the case) it should now work.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 3

Expert Comment

by:jyu_88
ID: 2631672
if you enable XDMCP query for the NT box on your Linxu box via /etc/X11/Xaccess, you should be able to run a XDMCP session with Exceed (you'll have a login screen like you have on the SUSE box, and all), instead of to execute single X client such as xterm or gimp or xiterm. That's what you mean by execute right?

If you try to execute 'xterm' from your telnet session, you need to set DISPLAY to your NT box first, such as
/telnet/SUSE/prompt$ export DISPLAY='NT.BOX.IP:0.0'
/telnet/SUSE/prompt$ xterm 2>xterm.err &

If you are try to execute xterm by setting up exceed, you'd better off by doing XDMCP as suggested above.
0
 
LVL 1

Expert Comment

by:fbjean
ID: 2645829
I don't know what login you try to rlogin.

If you have to rlogin with root
Erase the /etc/securetty or add in it the /dev/pts/... ( 0 to xxx)
and you will be able to remotely log with root.


good luck
0
 
LVL 2

Accepted Solution

by:
pheur earned 600 total points
ID: 2707385
You have to start xdm on the linux box. Before starting it have a look to /var/X11R6/lib/xdm/Xservers (you may want to comment out the lines for local display such as :0) or wherever SUSE xdm keeps its config files. Then, in exceed you have to log in using XDMCP (query or broadcast). I suppose it has such an option.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…
Suggested Courses
Course of the Month11 days, 2 hours left to enroll

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question