Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Jun 2002 15:44:02 +1000
From:      f3z <f3z@iprimus.com.au>
To:        <leroy@3dmasters.net>, <freebsd-questions@freebsd.org>
Subject:   Re: Restrict user access on freebsd
Message-ID:  <B9213F41.F53%f3z@iprimus.com.au>
In-Reply-To: <B92125B4.F4C%jrhoden@unimelb.edu.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B9213F41.F53%f3z>