sudoedit, restricting to particular folder

Kirk Strauser kirk at daycos.com
Tue May 30 14:30:58 PDT 2006


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


More information about the freebsd-questions mailing list