Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2004 12:07:26 -0500
From:      <lag@ipwatchers.net>
To:        <freebsd-stable@freebsd.org>
Subject:   Re: Security related questions
Message-ID:  <006201c41679$7a49d750$0201a8c0@skynet>
References:  <freemail.20040229135806.1927@fm11.freemail.hu> <20040329182339.431e9e5b@bogomips.optonline.net>

next in thread | previous in thread | raw e-mail | index | archive | help
could anyone explain some examples of setting up a restricted group for
limiting users?  using chmod and chown.. i've had a little luck, but not
overall.
----- Original Message ----- 
From: "Marc Spitzer" <mspitze1@optonline.net>
To: <freebsd-stable@freebsd.org>
Sent: Monday, March 29, 2004 6:23 PM
Subject: Re: Security related questions


On Mon, 29 Mar 2004 13:58:06 +0200 (CEST)
Kovács Péter <kovacspeter2@freemail.hu> wrote:

> Hi all,
>
> I have some FreeBSD specific questions, that I can't solve.
>
> 1. How can I set a user profile to execute only specific
> commands/programs? Like in Trusted Solaris: Execution Profiles.

There is a project for this, at least 1, but the name escapes me
at the moment.  I saw it on sourceforge

>
> 2. How can I grant access to a file only for a specific
> user. For example I have a job.txt file. This file is in my
> home directory and I want this file to be read by the user:
> james (only).

man chmod and chown.  Possable set up a special group for him.

marc

>
> Thanks,
> Peter




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006201c41679$7a49d750$0201a8c0>