Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 May 2006 17:22:41 -0400
From:      "N.J. Thomas" <njt@ayvali.org>
To:        Lawrence Horvath <lordsporkton@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: sudoedit, restricting to particular folder
Message-ID:  <20060530212241.GK3413@ayvali.org>
In-Reply-To: <a1bf75ae0605301346h1b5f8b35g27e8a8391d8974cb@mail.gmail.com>
References:  <a1bf75ae0605301346h1b5f8b35g27e8a8391d8974cb@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Lawrence Horvath <lordsporkton@gmail.com> [2006-05-30 13:46:33 -0700]:
> I am trying to get sudoedit to only work on a certain folder. So that
> you can only sudoedit files with in the /home/named folder.

The following works for me:

    luser         ALL = (root) sudoedit /home/luser/foo/*

(Sudo 1.6.8p12, FreeBSD 5.4)

hth,
Thomas

-- 
N.J. Thomas
njt@ayvali.org
Etiamsi occiderit me, in ipso sperabo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060530212241.GK3413>