vi and sudo

Thomas Robinson tom.robinson at
Wed Apr 24 04:05:53 EDT 2002

> > "while acting in the sudo context"
> You may think sudo is doing more than it is designed to do.  
> When you "sudo
> vi" you are simply running vi as root. There is no "sudo 
> context" once vi
> begins to execute. Given that, it is a common practice amongst sudo
> administrators to find other alternatives or exclude 
> altogether the use of
> vi with sudo.

This is infact what we ended up doing. Quite often when you look at the
context you don't need to do what it is you thought you had to.


This e-mail message is meant solely for the person or organisation to whom it is adressed. The message may contain personal or confidential information, or information that is not public in nature. Ehbas Ltd accepts no responsibility for message content and possible attachments that are unlawful or of questionable decency. Further dissemination, publication or duplication of this message is strictly prohibited if the person or organisation receiving this message is not the intended recipient. In the event that you are not the intended recipient, we request you to refrain from using the content and to immediately inform the sender of the error by returning the message. Thank you for your co-operation. 

More information about the sudo-users mailing list