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

[cobalt-users] .bashrc won't work



Ahoy

The way I understand it, with a bash shell, you put your aliases and such
for log-in sessions in .profile, and your aliases and such for non-log-in
sessions in .bashrc. This means if I log in as "charlie", then the aliases
in "/home/charlie/.profile" take effect. Then, if I "su", the aliases in
"/root/.bashrc" take effect. I have three Linux machines close by, each
running a bash shell, and for each, it works just exactly that way.

But on my RaQ2, it doesn't work. Yes, any aliases I put into
"/home/sites/home/.profile" will take effect when I log in as "admin", but
when I "su", then "/root/.bashrc" is ignored. Of course, "/root/.profile" is
also ignored because I cannot log in as root. But you would think that, once
I am root, I could "sh", and load the profile. That doesn't work either.



What am I missing?

Aloha
Davis