sudoedit, restricting to particular folder

N.J. Thomas njt at ayvali.org
Tue May 30 14:22:44 PDT 2006


* Lawrence Horvath <lordsporkton at 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 at ayvali.org
Etiamsi occiderit me, in ipso sperabo


More information about the freebsd-questions mailing list