From owner-freebsd-questions Thu Aug 27 12:56:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA15733 for freebsd-questions-outgoing; Thu, 27 Aug 1998 12:56:15 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from lucy.bedford.net (lucy.bedford.net [206.99.145.54]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA15645 for ; Thu, 27 Aug 1998 12:55:44 -0700 (PDT) (envelope-from listread@lucy.bedford.net) Received: (from listread@localhost) by lucy.bedford.net (8.8.8/8.8.8) id PAA12102; Thu, 27 Aug 1998 15:47:24 -0400 (EDT) (envelope-from listread) Message-Id: <199808271947.PAA12102@lucy.bedford.net> Subject: Re: rcp for root In-Reply-To: from Oleg Semenyuk at "Aug 27, 98 01:45:19 pm" To: olegs@matrix.ru (Oleg Semenyuk) Date: Thu, 27 Aug 1998 15:47:24 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG X-no-archive: yes Reply-to: djv@bedford.net From: CyberPeasant X-Mailer: ELM [version 2.4ME+ PL38 (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 Oleg Semenyuk wrote: > Hi netters, > > can anubody help me? I want use 'rcp' command for root. > But it seems work only for usual username, not for super user. > I tried hosts.equiv, /root/.rhosts - no work for root. hosts.equiv never works for root. Only .rhosts is used. Check the permissions on .rhosts. Should be 600 (rw-------) or 400 (r--------), and owned by root, group wheel. [listread@castor listread]$ ls -la /root/.rhosts -rw------- 1 root wheel - 124 Aug 3 01:39 /root/.rhosts Be sure that the contents of .rhosts are correct. If you use the names of machines, be sure that they can be resolved to IP numbers by the host having the .rhosts file. Dave -- Confutatis maledictis, flammis acribus addictis. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message