Re: sudoedit, restricting to particular folder

2006-06-03 Thread Lawrence Horvath
Well, the problem with that would be that we are editing about 4000 zone files(that includes forwards and reverses) so an entry for each zone wouldnt do, that it why i was hoping to make it effective on a whole folder, not just one file or two. I was considering a folder permissions solution,

Re: sudoedit, restricting to particular folder

2006-06-02 Thread N.J. Thomas
* Lawrence Horvath [EMAIL PROTECTED] [2006-06-01 22:13:39 -0700]: well in that case what can uyou recommend for editing only zone files and being able to run rndc, that is my main goal, i need to lock a system so that only rndc reload, rndc reconfig and editing zone files is possible by a

Re: sudoedit, restricting to particular folder

2006-06-01 Thread Lawrence Horvath
well in that case what can uyou recommend for editing only zone files and being able to run rndc, that is my main goal, i need to lock a system so that only rndc reload, rndc reconfig and editing zone files is possible by a group of users, any suggestins? and/or how do you do this? On 5/31/06,

Re: sudoedit, restricting to particular folder

2006-05-31 Thread N.J. Thomas
* Kirk Strauser [EMAIL PROTECTED] [2006-05-30 16:30:45 -0500]: luser ALL = (root) sudoedit /home/luser/foo/* Why not give them root while you're at it: luser$ cd ~/foo; ln -s /etc/master.passwd; sudoedit ~/foo/master.passwd Yikes, he's right. Don't put that in your sudoers file. I found

Re: sudoedit, restricting to particular folder

2006-05-30 Thread N.J. Thomas
* Lawrence Horvath [EMAIL PROTECTED] [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

Re: sudoedit, restricting to particular folder

2006-05-30 Thread Kirk Strauser
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