[sudo-users] Limiting Editing Power
Mathew Brown
mathewbrown at fastmail.fm
Thu Oct 19 04:39:00 EDT 2006
Thank you all for your help. sudoedit seems to be the solution to this
issue. Thanks again.
Michael Potter wrote:
>
> add this rule to you sudoers file:
> mruser webserver=(apache)sudoedit /etc/httpd.conf
>
> then tell mruser to do this:
> sudo -e -u apache /etc/httpd.conf
>
> On 10/18/06, Mathew Brown <mathewbrown at fastmail.fm> wrote:
>
> Hi,
> I currently run into a scenario where I want to allow a user to edit a
> file owned by another user but ONLY that file. If I specify something
> like /usr/bin/vim /etc/httpd.conf, vim is launched. However, the
> user, using vim, can then edit any files owned by the owner or
> httpd.conf. Is there any solution to this issue? Thanks for your
> help.
> --
> Mathew Brown
> mathewbrown at fastmail.fm
>
> --
> http://www.fastmail.fm - I mean, what is it about a decent email service?
>
> ____________________________________________________________
> sudo-users mailing list <sudo-users at sudo.ws>
> For list information, options, or to unsubscribe, visit:
> http://www.sudo.ws/mailman/listinfo/sudo-users
>
>
--
Mathew Brown
mathewbrown at fastmail.fm
--
http://www.fastmail.fm - A no graphics, no pop-ups email service
More information about the sudo-users
mailing list