sudo in terminal

Jeff Vian jvian10 at charter.net
Wed Feb 23 13:46:54 UTC 2005


On Wed, 2005-02-23 at 11:21 +0200, Michael Green wrote:
> Consider this:
> 
> [root at wiccproto ~]# sudo which vi
> /bin/vi
> [root at wiccproto ~]# which vi
> alias vi='vim'
>         /usr/bin/vim
> 

That can be an issue.  The default environment points the vi command to
vim, but sudo does not use the default environment.   Hmmmmm.




More information about the fedora-list mailing list