From owner-freebsd-questions@FreeBSD.ORG Thu Mar 10 18:16:01 2005 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 13AAD16A4CE for ; Thu, 10 Mar 2005 18:16:01 +0000 (GMT) Received: from shiba.meibin.jp (shiba.meibin.jp [211.18.246.253]) by mx1.FreeBSD.org (Postfix) with SMTP id 9D9A843D48 for ; Thu, 10 Mar 2005 18:15:59 +0000 (GMT) (envelope-from lukek@meibin.net) Received: (qmail 17419 invoked by uid 1011); 10 Mar 2005 18:15:41 -0000 Received: from 192.168.10.8 by shiba.meibin.jp (envelope-from , uid 1009) with qmail-scanner-1.24-st-qms (clamdscan: 0.83/705. spamassassin: 3.0.2. perlscan: 1.24-st-qms. Clear:RC:0(192.168.10.8):SA:0(-2.8/5.0):. Processed in 2.569685 secs); 10 Mar 2005 18:15:41 -0000 X-Spam-Status: No, hits=-2.8 required=5.0 X-Antivirus-MEIBIN-Mail-From: lukek@meibin.net via shiba.meibin.jp X-Antivirus-MEIBIN: 1.24-st-qms (Clear:RC:0(192.168.10.8):SA:0(-2.8/5.0):. Processed in 2.569685 secs Process 17411) Received: from unknown (HELO ?192.168.10.8?) (lukek@meibin.net@192.168.10.8) by shiba.meibin.jp with SMTP; 10 Mar 2005 18:15:38 -0000 Date: Fri, 11 Mar 2005 03:13:24 +0900 From: Luke Kearney To: David Larkin In-Reply-To: <20050310191945.574bb924@sparrow> References: <20050310185932.6a965cd8@sparrow> <20050310191945.574bb924@sparrow> Message-Id: <20050311031206.9F19.LUKEK@meibin.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.07.01 cc: questions@freebsd.org Subject: Re: SAMBA newbie 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: Thu, 10 Mar 2005 18:16:01 -0000 On Thu, 10 Mar 2005 19:19:45 +0000 David Larkin spake thus: > On Thu, 10 Mar 2005 18:59:32 +0000 > David Larkin wrote: > > > On Fri, 11 Mar 2005 02:15:28 +0900 > > Luke Kearney wrote: > > > > > > > > On Thu, 10 Mar 2005 18:28:52 +0000 > > > David Larkin spake thus: > > > > > > > I have a FreeBSD 5.3 machine and a Windoze XP box. > > > > > > > > I am the only user of both. > > > > > > > > I don't want to share files or act as a full time fileserver. > > > > > > > > I simply wish to exchange files ocassionally, e.g. copy FreeBSD backup files to the XP box to burn on CD. > > > > > > > > I used to use anon ftp for this type of thing but found the security a nightmare. I've now installed Samba on the FreeBSD box , but I'm not sure this is a good idea. > > > > > > > > Can I set up a 'sandbox' directory on my FreeBSD machine where both machines can read and write ? > > > > > > > > After installing samba and setting the workgroup in smb.conf, i can now see the FREEBSD box in 'view workgroup computers' but clicking on that I am asked for a username/password , which i'm reluctant to give. > > > > > > > > Any advice ? > > > > _______________________________________________ > > > > > > > > > Hello, > > > If you take a look at the documentation you will find that you have > > > several options, you can encrypt the passwds, you could set up a guest > > > account with no passwd but restrict access to a particular filesystem to > > > think of but two. > > > > > > HTH > > > > > > LukeK > > > > > > > Thanks, I don't want to use any passwords, enrypted or otherwise > > > > The guest account sounds interesing. > > > > I've commented out the following in smb.conf > > > > # This one is useful for people to share files > > [tmp] > > comment = Temporary file space > > path = /tmp > > read only = no > > public = yes > > > > > > should this allow everyone on both machines to write to the /tmp directory but not execute anything there ? > > > > I still get challenged for a username/password on the XP directory. > > guest/guest and nobody/nobody both fail > > > > OK, I got that to work by changing the line > security = user > > to > > security = share > > > Is this safe ????? I should think that it is not that good an idea to use /tmp unless you have it on it's own partition as otherwise you could potentially allow someone to upload a large file and fill the root partition at which point a few other things might break too. HTH LukeK -- <>