From owner-freebsd-questions Wed Sep 5 14:27:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id 03D7637B407 for ; Wed, 5 Sep 2001 14:27:10 -0700 (PDT) Received: (from jonc@localhost) by itouch.co.nz (8.11.3/8.11.1) id f85LQ9h60232; Thu, 6 Sep 2001 09:26:09 +1200 (NZST) (envelope-from jonc) Date: Thu, 6 Sep 2001 09:26:09 +1200 From: Jonathan Chen To: Dave Cc: freebsd-questions@FreeBSD.ORG Subject: Re: home chmod Message-ID: <20010906092609.B58264@itouchnz.itouch> References: <001501c13651$8627f120$0100a8c0@north1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <001501c13651$8627f120$0100a8c0@north1>; from north1@nexicom.com on Wed, Sep 05, 2001 at 05:27:10PM -0400 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 Wed, Sep 05, 2001 at 05:27:10PM -0400, Dave wrote: > > I have a qustion about a small freebsd 4.3 box i run. > I don't want users looking in other users /home/someuser and browsing > around. im not sure what chmod /home to denie browsing of /home > > Any ideas? > > help, i caught one user already robbing files from > some other users folder. it was jpegs but still... :( /home needs to be 755. Otherwise people can't get to their home directories. Each *user* needs to have their home director set to 700, so that only the *user* has full access rignts to it. In most cases: # chmod 700 /home/* will do it. YMMV depending on your local system setup. -- Jonathan Chen ---------------------------------------------------------------------- "Nyuck, nyuck, nyuck" - Curly To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message