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

Re: [cobalt-users] .bashrc won't work



Ahoy

The dash does the trick --- thanks

Aloha


-----Original Message-----
From: Steven Glogger <Steven@xxxxxxxxxx>
To: cobalt-users@xxxxxxxxxxxxxxx <cobalt-users@xxxxxxxxxxxxxxx>
Date: Monday, December 06, 1999 10:44 AM
Subject: RE: [cobalt-users] .bashrc won't work


>I use always "su -" to get root.....so it loads the whole profile...
>
>-Steven
>
>-----Original Message-----
>From: cobalt-users-admin@xxxxxxxxxxxxxxx
>[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx] On Behalf Of WebMost
>Sent: Montag, 6. Dezember 1999 16:07
>To: cobalt-users
>Subject: [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
>
>
>
>
>_______________________________________________
>cobalt-users mailing list
>cobalt-users@xxxxxxxxxxxxxxx
>http://list.cobalt.com/mailman/listinfo/cobalt-users
>
>
>_______________________________________________
>cobalt-users mailing list
>cobalt-users@xxxxxxxxxxxxxxx
>http://list.cobalt.com/mailman/listinfo/cobalt-users
>