Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 May 2006 16:30:45 -0500
From:      Kirk Strauser <kirk@daycos.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: sudoedit, restricting to particular folder
Message-ID:  <200605301630.45755.kirk@daycos.com>
In-Reply-To: <20060530212241.GK3413@ayvali.org>
References:  <a1bf75ae0605301346h1b5f8b35g27e8a8391d8974cb@mail.gmail.com> <20060530212241.GK3413@ayvali.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 30 May 2006 16:22, N.J. Thomas wrote:

> The following works for me:
>
>     luser         ALL = (root) sudoedit /home/luser/foo/*
>
> (Sudo 1.6.8p12, FreeBSD 5.4)

Why not give them root while you're at it:

luser$ cd ~/foo; ln -s /etc/master.passwd; sudoedit ~/foo/master.passwd

-- 
Kirk Strauser
The Day Companies



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