Date: Fri, 2 Aug 2002 09:07:47 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Lord Raiden <raiden23@netzero.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Bitbucket Message-ID: <20020802080747.GC51805@happy-idiot-talk.infracaninophi> In-Reply-To: <4.2.0.58.20020802040157.009fcb80@pop.netzero.net> References: <4.2.0.58.20020802040157.009fcb80@pop.netzero.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020802080747.GC51805>