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

Environment and Sudo



Commands invoked using sudo do not receive/honor environment items or aliases. 
Example would be the alias vi="vim". Invoking normally will run vim, invoking 
using sudo vi will get the "other" vi.

Is there something else I need in /etc/profile or some .bashrc?



Reply to: