*BSD News Article 44857


Return to BSD News archive

Xref: sserve comp.unix.bsd.freebsd.misc:1639 comp.dcom.sys.cisco:17841
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!zib-berlin.de!news.tu-chemnitz.de!irz401!narcisa.sax.de!not-for-mail
From: j@narcisa.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.dcom.sys.cisco
Subject: Re: FreeBSD 2.0R: tftpd directory arguments don't work?
Date: 2 Jun 1995 13:08:33 +0200
Organization: Private U**x site, Dresden.
Lines: 14
Message-ID: <3qmrfh$t0h@bonnie.tcd-dresden.de>
References: <3qm416$26f@mars.mcs.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de
NNTP-Posting-Host: 192.109.108.139
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Michael Borowiec <mikebo@MCS.COM> wrote:

>Since the Cisco absolutely can't specify a destination path, is there a way
>I can convince tftpd to use a default path ala SunOS's -s option:
>tftpd -s /tftpboot ?

chroot?  But be careful, chroot is restricted to uid 0.  Perhaps you
need a wrapper that switches uid's after chroot'ing (maybe in Perl).

-- 
cheers, J"org                      private:   joerg_wunsch@uriah.heep.sax.de
                                   http://www.sax.de/~joerg/

Never trust an operating system you don't have sources for. ;-)