Re: Root path question

2003-10-05 Thread Bob Proulx
Steve Doerr wrote: > I'm confused about root's bash profile. Let me give it a shot at unconfusing you. > In vt1, What *exactly* do you mean by vt1? To me it means that you are using the first virtual terminal. What you get when you don't have a graphical login manager such as xdm, kdm, gdm. O

Re: Root path question

2003-10-04 Thread Aaron Cimolini
I had a similar problem with switching to the root user and not getting all of root's path variables added to my environment. my instructor said to use this command: su - root And it worked like a charm. Apparently it loads you into a new shell exactly like you just logged in as the user. All you

Re: Root path question

2003-10-04 Thread Lukas Ruf
> Naitik Shah <[EMAIL PROTECTED]> [2003-10-04 10:47]: > > One possibility might be the fact that when you su, I believe > .bashrc gets executed, and .bash_profile does not, as it isn't a > login shell. Whereas when you login (or alternatively do: su -c > "bash --login" ) .bash_profile gets run. So

Re: Root path question

2003-10-04 Thread Naitik Shah
One possibility might be the fact that when you su, I believe .bashrc gets executed, and .bash_profile does not, as it isn't a login shell. Whereas when you login (or alternatively do: su -c "bash --login" ) .bash_profile gets run. So depending on the paths each of these set, your path could pos

Re: Root path question

2003-10-03 Thread Neo
On Fri, 2003-10-03 at 21:20, Steve Doerr wrote: > I'm confused about root's bash profile. In vt1, the directories /sbin & > /usr/local/sbin are excluded from the path. If I su to root within > Gnome or KDE in a terminal they are there. > > I'm not sure why there isn't a common bash profile for