sudoedit

Lawrence Horvath lordsporkton at gmail.com
Tue May 30 13:47:00 PDT 2006


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.

Cmnd_Alias      COPY = /usr/local/bin/sudoedit /home/named/, /bin/cp, /bin/mv

it would be something like that only that's not working.

$ uname -a
FreeBSD ns1.sporkton.com 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov
3 09:36:13 UTC 2005
root at x64.samsco.home:/usr/obj/usr/src/sys/GENERIC  i386

$ sudo -V
Sudo version 1.6.8p9


Thanks
-- 
-Lawrence


More information about the freebsd-questions mailing list