From owner-freebsd-questions@FreeBSD.ORG Tue Oct 28 18:22:12 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9A7D16A4CE for ; Tue, 28 Oct 2003 18:22:12 -0800 (PST) Received: from server1.ultratrends.com (server1.ultratrends.com [205.206.59.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id F15BE43FEA for ; Tue, 28 Oct 2003 18:22:07 -0800 (PST) (envelope-from trodat@ultratrends.com) Received: from server1.ultratrends.com (localhost [127.0.0.1]) h9T2IMn3081880; Tue, 28 Oct 2003 19:18:22 -0700 (MST) Received: from localhost (trodat@localhost)h9T2IMaf081877; Tue, 28 Oct 2003 19:18:22 -0700 (MST) X-Authentication-Warning: server1.ultratrends.com: trodat owned process doing -bs Date: Tue, 28 Oct 2003 19:18:22 -0700 (MST) From: Technical Director To: MPAREDES@telmex.com In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: FreeBSD-Questions@freebsd.org Subject: Re: ftp with user root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2003 02:22:13 -0000 Hello, bootptab means you are using your server in a working environment, so consider not using an unsafe method like ftp to get the file from A to B. If your lan is TOTALLY non-public and has no ways for access you can open up ftp for user root by modifying the /etc/ftpusers file and knock out the root entry. You will have to HUP inetd as well as make sure the ftpd line is not remmed in /etc/inetd.conf. If though you have access to edit/change ftpusers then you have enough privilege to ftp up this file to a non-important user and then make a chown root:wheel after you have placed and moved the file. The key to remember is if you leave root as an ftp option and forget to undo the changes you most likely will lose the fear of leaving such a beast as root-ftp access open and continue to use it until one day when someone using a variety of means captures your root password on the clear text ftp protocol. Have you considered: >sftp - Allows you to access the system in a secure like method including placing files from a client to server. >nfs - Allows you to operate on the files directly with a preplanned who can and who can't access the files. Standard login takes care of the rest. Hope this helps. R. On Tue, 28 Oct 2003 MPAREDES@telmex.com wrote: > > Hi: > > I need to transmit some files to the BSD server, one of this files > is the /etc/bootptab, which belongs to root, so I need root access > > How can I enable ftpd to permit the user root? > > maps > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >