[sudo-users] Permiting user use vi

Russell Van Tassell russell+sudo-users at loosenut.com
Sat Dec 6 06:12:58 EST 2008


On Sat, Dec 06, 2008 at 08:41:48AM -0200, Valdemir Santos wrote:
> Is there any way to permit sudo's user use vi but doesn't escape to the
> shell ?

As silly/simple as this sounds... use a version of vi (or another editor
for that matter) that permits you to restrict/remove shell escapes.

Something like "vim" (Vi IMproved) should be able to do this for you...


-- 
Russell M. Van Tassell
russell at loosenut.com

"Entropy isn't what it used to be."



More information about the sudo-users mailing list