[SunRescue] Bash/Sol7
Cyrus M. Reed
reedc at cc.wwu.edu
Sun Apr 23 10:50:06 CDT 2000
You want .bash_profile, I think (though .bashrc should work for any shell started by the user, hmmm). Also, you don't want "set PATH=/blah/blah:", you want
just "PATH=/blah/blah:", IIRC (looking in mine). According to the man page I'm looking at here (which is Sol 2.5, Bash 2.x) the system will first read from
/etc/profile, then ~/.bash_profile , ~/.bash_login, ~/.profile, in that order. So I think it's a config file problem with the "set" in there, rather than
having the wrong filename. Hope that helps...
-Cyrus
Gregory Leblanc wrote:
>
> > -----Original Message-----
> > From: Maarten Deen [mailto:mdeen at xs4all.nl]
> > Sent: Sunday, April 23, 2000 10:29 AM
> > To: rescue at sunhelp.org
> > Subject: Re: [SunRescue] Bash/Sol7
> >
> >
> > >
> > > I still seem to be having trouble getting any environmental
> > settings changed
> > > on a per-user basis using Solaris7 and BASH. I've tried
> > .bashrc, .profile,
> > > .dtprofile, with lots of different things inside the first
> > two, and adding a
> >
> > Try putting it in .bash_login. That'll work better.
>
> Any more ideas for filenames? :-) Now I've got .bashrc, .profile,
> .bash_login, none of which change the bloody PATH! So, more ideas?
> Greg
> _______________________________________________
> Rescue maillist - Rescue at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/rescue
More information about the rescue
mailing list