LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 11-12-2004, 09:39 AM   #1
govtlinux
LQ Newbie
 
Registered: Sep 2004
Posts: 2

Rep: Reputation: 0
weird issue with RSH over a network, anyone seen this?


We've got a redhat 9 network setup consisting of a server and 4 client machines. Users log in using NIS and their /home/<user> directory is mapped with NFS. The physical location of /home/<user> is on the server itself.

We use a program that requires rsh in order to function correctly. Right now it is only working correctly when the user logs onto the server and runs it from there, or it is run by root from any location. Essentially, the program needs to access a symlink in the users home directory. When testing 'rsh <servername> ls' I think I discovered the issue.

If I log in to any machine as root and run 'rsh <hostname> ls' for any host on the network, it correctly returns the contents of /root.

If I log into a client machine as a user and run 'rsh <hostname> ls' it will only return the contents of the /home/<user> directory if I'm using the server as the hostname. If I try to run it with any of the client machines as hostname it will only return the contents of the / directory... basically it's never getting to the place where the /home/<user> file would be.

Anyone able to shed any light onto why this is not working correctly? If I created the symlink in the / directory on the clients it would run fine, so it seems the issue is just that rsh is never getting into the /home directory when run from a client (the /home directory does map correctly, when a user logs in running 'pwd' will show that it is in the correct place). I tried using both autofs and mounting via /etc/fstab but neither fixed the problem

At this point I'm stumped. Any suggestions as to what I can do to correct this problem are welcome.

Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RSH: remuser too long error when rsh is executed from IIS dev33445 Programming 0 08-29-2005 09:34 AM
rsh issue in AIX boxes oosii AIX 2 07-21-2005 07:34 AM
getting rsh to work acroos a beowulf network karma7 Linux - Newbie 0 04-01-2004 08:58 AM
weird network issue on boot Suse ent 8 (sles) dilf Linux - Networking 0 02-19-2004 11:26 AM
DHCP Network issue. Weird.... DrGannon Linux - Networking 3 06-16-2003 10:49 AM


All times are GMT -5. The time now is 12:02 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration