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.