From owner-freebsd-questions Fri Aug 2 1: 7:57 2002 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 24A8A37B401 for ; Fri, 2 Aug 2002 01:07:55 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DCE743E42 for ; Fri, 2 Aug 2002 01:07:54 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk ([IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g7287rnJ052261; Fri, 2 Aug 2002 09:07:53 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g7287l9I052260; Fri, 2 Aug 2002 09:07:47 +0100 (BST) Date: Fri, 2 Aug 2002 09:07:47 +0100 From: Matthew Seaman To: Lord Raiden Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Bitbucket Message-ID: <20020802080747.GC51805@happy-idiot-talk.infracaninophi> References: <4.2.0.58.20020802040157.009fcb80@pop.netzero.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4.2.0.58.20020802040157.009fcb80@pop.netzero.net> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Aug 02, 2002 at 04:04:28AM -0400, Lord Raiden wrote: > Ok, this might sound stupid, but where is the "bit bucket" in > freebsd? Is it /var/null? /dev/null > I'm wanting to make a bunch of user accounts with only mail access > to one of the servers and I wanted to set the home dir as null basically. > AKA they have no home dir. /dev/null is not really appropriate for that --- it's not a directory. It's usual uses treat it as a file: for reading, it is effectively zero length and for writing it's infinitely long. What you should do is create an empty directory and set the permissions on it to be unwritable by your mail-only users: mkdir /var/no-fixed-abode chown root:wheel /var/no-fixed-abode chmod 0555 /var/no-fixed-abode Use that as the home dir for all your mail users. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Tel: +44 1628 476614 Marlow Fax: +44 0870 0522645 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message