From owner-freebsd-questions Tue Feb 17 05:31:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA22771 for freebsd-questions-outgoing; Tue, 17 Feb 1998 05:31:36 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from horton.iaces.com (horton.iaces.com [204.147.87.98]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA22731 for ; Tue, 17 Feb 1998 05:31:22 -0800 (PST) (envelope-from proot@horton.iaces.com) Received: (from proot@localhost) by horton.iaces.com (8.8.7/8.8.7) id HAA00555; Tue, 17 Feb 1998 07:30:14 -0600 (CST) From: "Paul T. Root" Message-Id: <199802171330.HAA00555@horton.iaces.com> Subject: Re: rsh To: melvin@tri-comm.net Date: Tue, 17 Feb 1998 07:30:14 -0600 (CST) Cc: questions@FreeBSD.ORG (Questions FreeBSD) In-Reply-To: <039e01bd3b25$b28792a0$41e60cd1@melvin.pitllc.com> from Melvin Brown at "Feb 16, 98 03:56:12 pm" X-Organization: USWEST !nterprise Networking - ACES X-Phone: (612) 664-3385 X-Fax: (612) 664-4779 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 600 Stinson Blvd, Fl 1S X-Address: Minneapolis, MN 55413 X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In a previous message, Melvin Brown said: > I can't get rsh to work. > In /etc/hosts.equiv, I having the following line: > ns2.pitllc.com root This is fine. > In /.rhosts, I have the following line: > 209.12.230.3 This should also be ns2.pitllc.com > In /etc/hosts, I have the following entry: > 209.12.230.3 ns2.pitllc.com ns2 Do you use DNS? (What's in your /etc/host.conf file). Does it agree with your /etc/hosts file? What is the output of the who command for the tty youare logged into with a telnet or rlogin? Does it match ns2.pitllc.com? > > >In a previous message, Melvin Brown said: > >> I am having a tough time with rsh. I rsh from Solaris to FreeBSD but > >> always get permission denied. I setup files, /etc/hosts and > >> ~$HOME/.rhosts, the same way on another Solaris box and get in. Is > >> there anything not noted in man pages about rsh which will not allow me > >> to rsh from Solaris? > > > >First, make sure it's in /etc/hosts.equiv. > > > >Then, make sure that the name of the machine is correct in .rhosts and > >hosts.equiv and hosts. > > > >To do that, once you get logged in, do a who and the name in the ()'s is > >the name of the machine that needs to go in the files. This name may be > >truncated. If it is, fill out the entire domain. > > > >-- > >IRS HUMOR EXAMPLE A: "A lawyer, a doctor, and a priest were marooned > >on a desert island. So we confiscated their homes." --Dave Barry > > > > > -- "Whether you believe you can do a thing or not, you are right." --Henry Ford To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message