From owner-freebsd-questions Mon Dec 13 9:43: 9 1999 Delivered-To: freebsd-questions@freebsd.org Received: from merlin.onsea.com (pBBs09a01.client.global.net.uk [195.147.137.188]) by hub.freebsd.org (Postfix) with ESMTP id 3D14C15430 for ; Mon, 13 Dec 1999 09:42:55 -0800 (PST) (envelope-from dozprompt@onsea.com) Received: from guru (guru.onsea.com [10.0.0.2]) by merlin.onsea.com (8.9.3/8.9.2) with SMTP id RAA01779; Mon, 13 Dec 1999 17:43:47 GMT (envelope-from dozprompt@onsea.com) From: "Cliff Rowley" To: "Peter Kok" Cc: Subject: RE: command abt 'ftp' and 'cp' Date: Mon, 13 Dec 1999 17:43:11 -0000 Message-ID: <000201bf4591$860c7100$0200000a@onsea.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 In-Reply-To: <38551FE5.C51CB20@stlinux.ouhk.edu.hk> Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 1/ I couldn't use ftp as login as 'root' from outside to connect > freebsd? > But I could login as normal user to make connection. Logging in as root anywhere except via the console is disabled for reasons of security. Removing external root access (except, of course, via su) means that in order for a user to get any kind of privellaged access, they must already be logged into the system. The most a "hacker" can do, is brute force a normal user, in the hope that they have SU rights. > 2/ How do I use 'cp' to copy the whole directory to other location. cp -r NOTE: make sure has no trailing / Some implementations of cp will copy the contents of the directory instead of the whole thing if the trailing forward slash is added. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message