Re: sudo in terminal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux