Path: utzoo!utgpu!watmath!att!dptg!rutgers!apple!brutus.cs.uiuc.edu!wuarchive!csd4.csd.uwm.edu!uakari.primate.wisc.edu!indri!nic.MR.NET!umn-cs!peiffer From: peiffer@umn-cs.CS.UMN.EDU (Tim J. Peiffer) Newsgroups: comp.dcom.lans Subject: Re: TCP/IP and NFS on ISC Message-ID: <15479@umn-cs.CS.UMN.EDU> Date: 31 Aug 89 00:50:19 GMT References: <899@orbit.UUCP> Reply-To: peiffer@umn-cs.cs.umn.edu (Tim J. Peiffer) Organization: CSci Dept., University of Minnesota, Mpls. Lines: 48 In article <899@orbit.UUCP> jeb@pnet51.cts.com (James Borchart) writes: >1: /usr/ucb/rsh (not to be confused with the beloved restricted > shell) will give me a shell on the local or a remote host > but if I put a command at the end of the line I get > "Permission Denied" every time. Regardless of command. >2: rexec asks for a password for the specified or default user > and then fails every single time. This is regardless of whether > the user requires a password or not. The message is "Login > Incorrect\nrexec: could not execute remote command." Your problem might be that the host you are logging on to does not know who or what your machine is. Check what your machine sees by the following. Remote shell into the target machine and type in the following: % whoami tim % who | grep tim | awk '{print $6}' (myname.sub.domain.) or (1.2.3.4) More than likely your entry in .rhosts does not match the return from who. If it gives a name, place it in .rhosts. I suspect it only knows the address. If your target machine is a host table driven beast, put an entry into /etc/hosts corresponding to your machine. If it is a domain nameserver driven sort, the deal becomes a little more difficult (but not much). Ask your local network guru to enter a record into the zone tables corresponding to your machine. Typically, the zone tables are listed as hosts and hosts.rev in the directory [/usr]/etc/named. In /usr/etc/named/hosts: myname.sub.domain. IN A 1.2.3.4 ^ <<- don't forget the trailing dot. In /usr/etc/named/hosts.rev: 4.3.2.1.in-addr.arpa. IN PTR myname.sub.domain. I hope this helps. I would be interested personally to see what the problem is. I am considering looking into PC-NFS or equivalent. Tim Peiffer peiffer@cs.umn.edu or.. Comp Sci Dept ...!rutgers!umn-cs!peiffer U of Minnesota Mpls, MN (612) 625-0876