From owner-freebsd-questions Sun Jun 2 22:48:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ariel.ucs.unimelb.edu.au (ariel.ucs.unimelb.edu.au [128.250.20.3]) by hub.freebsd.org (Postfix) with ESMTP id 9609537B403 for ; Sun, 2 Jun 2002 22:48:49 -0700 (PDT) Received: from [128.250.18.60] (ws18-60.its.unimelb.edu.au [128.250.18.60]) by ariel.ucs.unimelb.edu.au (8.12.3/8.12.3) with ESMTP id g535kmW3018153; Mon, 3 Jun 2002 15:46:50 +1000 (EST) User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 Date: Mon, 03 Jun 2002 15:44:02 +1000 Subject: Re: Restrict user access on freebsd From: f3z To: , Message-ID: In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit 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 3/6/2002 1:55 PM, Jacob Rhoden at jrhoden@unimelb.edu.au wrote: > /etc, for example /etc/group. The best thing to do is to remove the x flag > on most directories, ie /etc /bin /sbin and so on, so that normal users can > execute things like 'ls' and read files like 'group'. (The x flag on > directories means that a user cannot list the directory but can still access > files in it). If you are unsure about the nescessity of a command, then I Oops, I stand corrected, I got my flags mixed up, just for those I confused: r flag - Allows a directory to be listed x flag - allows a user to access files in the directory but only if the particular file has appropriate rwx flags set Sorry if I confused anyone. Regards, Jacob ---------------------------------------------------- Jacob Rhoden Phone: +61 3 9844 6102 ITS Division Email: jrhoden@unimelb.edu.au Melbourne University Mobile: +61 403 788 386 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message