[sudo-users] Permiting user use vi

Todd C. Miller Todd.Miller at courtesan.com
Sat Dec 6 09:00:17 EST 2008

In message <e8401e700812060241h6cb82a5cx1b20b30c651b02bc at mail.gmail.com>
	so spake "Valdemir Santos" (valdemirs):

> Is there any way to permit sudo's user use vi but doesn't escape to the
> shell ?

You can give them access to "sudoedit" instead which will make a
copy of the file as the user and invoke the editor on that instead.
That way any shell escape is run as the user and not root.

 - todd

More information about the sudo-users mailing list