From owner-freebsd-questions Thu Jun 13 15: 3:26 2002 Delivered-To: freebsd-questions@freebsd.org Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by hub.freebsd.org (Postfix) with ESMTP id 21A3237B41A for ; Thu, 13 Jun 2002 15:03:21 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by cactus.fi.uba.ar (8.11.6/8.11.6) with ESMTP id g5DLSa535195; Thu, 13 Jun 2002 18:28:39 -0300 (ART) (envelope-from fgleiser@cactus.fi.uba.ar) Date: Thu, 13 Jun 2002 18:28:36 -0300 (ART) From: Fernando Gleiser X-X-Sender: To: budsz Cc: freebsd-questions Subject: Re: About permission In-Reply-To: <20020614025846.A36988@bdg.centrin.net.id> Message-ID: <20020613182150.L34605-100000@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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, 14 Jun 2002, budsz wrote: > Hi, > > I tried to limiting access for normal user, maybe for implementation > normal user can't change, read, directory to /home, so if I give permission 700 > /home, normal user can't login to shell maybe error message: Thats because you need execute permision to be able to 'cd' into the directory. Try seting /home to 711, that way they can't read/write the dir, but they can cd into it. In directories 'r' means you can 'ls' the directory. 'w' means you can create/delete files in the directory. 'x' means you can 'cd' into the diretory. Why are you tryiong to do this? There are lots of ways of finding out the home dirs of the other users, regardless of /home permissions Fer Fer > > ---cut > Could not chdir to home directory /home/budsz: Permission denied > bash: /home/budsz/.bash_profile: Permission denied > ---cut > > I want top directory only in /home/budsz, so how to fix this problem. > > TIA > > -- > budsz > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message