From owner-freebsd-questions Thu Oct 30 21:41:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA12895 for questions-outgoing; Thu, 30 Oct 1997 21:41:03 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from super-g.inch.com (super-g.com [207.240.140.161]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA12886 for ; Thu, 30 Oct 1997 21:40:56 -0800 (PST) (envelope-from spork@super-g.com) Received: from localhost (localhost [127.0.0.1]) by super-g.inch.com (8.8.7/8.8.5) with SMTP id AAA09127; Fri, 31 Oct 1997 00:37:50 -0500 (EST) Date: Fri, 31 Oct 1997 00:37:49 -0500 (EST) From: spork X-Sender: spork@super-g.inch.com To: Bob Webb cc: "'freebsd-questions@freebsd.org'" Subject: Re: tftpd and pre creating files In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I think it's a safety feature, albeit a bit weak. What I've been using is the yale-tftpd port, which has been working great. It allows you to specify which hosts can do what. I simply made two config files for it; one grants read-only access and the other read-write access. I just flop them back and forth as needed. If I used this more often, I'd write a little script to flip it. I have the tftp directory writable by the tftp user but you do still have to touch the files, but then how often do you change the names of your config files? The nice thing is that if you are familiar with Cisco access-lists, you'll find the config files very friendly, as they are in the same format. Charles On Thu, 30 Oct 1997, Bob Webb wrote: > I would like to tftp Cisco router configs to my FreeBSD box. Do I need > to touch the file first, then chmod 666 before I tftp, or can tftpd be > setup to create the file if it does not exist ? I am able to tftp > without creating the file first in AIX, but the man page in BSD tftp > says that the file must exist. Is this a "feature" ?? > > Thanks, > Bob/ >