Hi,

I cant seem to get shell aliases working when i sudo to "root". I have all the aliases added in /etc/profile. When i ssh to the router with my non root user, the aliases work, but if I sudo to root they dont.

I tried creating/adding    "/root/profile" but that didnt do anything. Is there a way for aliases to work under the root user?

Thanks

(Last edited by alirz on 31 Aug 2015, 15:13)