bash not loading .bachrc on login

Aloha,

A few weeks ago my host disabled use of the "w" program because.. i really don't know why he would do something like that.

But, he did leave use fo the "uptime" and "users" programs intact.

So, i edited my .bashrc to include the following:

Code:
alias w="uptime;users"
Now, whenever i login to ssh, and run the w command, it gives me the usual "-bash: /usr/bin/w: Permission denied" error.

But, when i type "bash" and run "w" it works just fine.

How can i make it so that i don't have to type "bash" in order to make use of aliases in .bashrc ?


Thanks.

 

 

 

 

Top