sudo in terminal

Matthew Miller mattdm at mattdm.org
Thu Feb 24 01:19:50 UTC 2005


On Wed, Feb 23, 2005 at 05:06:07PM -0800, Rick Stevens wrote:
> >Of course, you could just do without the alias and type "vim" rather
> >than "vi".
> That will not work.  sudo does NOT execute the user's profile scripts so
> the alias won't work for sudo.  The only answer is to actually have sudo
> run "vim" instead of "vi".

This is a good thing -- sudo should avoid doing anything but what it's told.

-- 
Matthew Miller           mattdm at mattdm.org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>




More information about the fedora-list mailing list