View previous topic :: View next topic |
Author |
Message |
cgmd Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/923325915444be02f39685.jpg)
Joined: 17 Feb 2005 Posts: 1585 Location: Louisiana
|
Posted: Mon Mar 31, 2008 12:11 pm Post subject: [Solved] With SSH connection, /.bashrc isn't sourced... |
|
|
Hi, all...
I need help learning some Linux computer networking basics.
When I root access my server using SSH, my alias commands are unrecognized until I run: # source /.bashrc. If I access it as a user, this doesn't occur.
This is just an annoyance, and I'm curious if there's a way to automate that with each root SSH access?
Thanks! _________________ "Primum non nocere" ---Galen
Last edited by cgmd on Mon Mar 31, 2008 3:31 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
massimo Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/601340297511bb264633a9.png)
Joined: 22 Jun 2003 Posts: 1226
|
Posted: Mon Mar 31, 2008 12:25 pm Post subject: |
|
|
Take a look at any user's bash_profile - this sources bashrc. _________________ Hello 911? How are you? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cgmd Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/923325915444be02f39685.jpg)
Joined: 17 Feb 2005 Posts: 1585 Location: Louisiana
|
Posted: Mon Mar 31, 2008 3:31 pm Post subject: |
|
|
massimo wrote: | Take a look at any user's bash_profile - this sources bashrc. |
Excellent! I had no /root/.bash_profile
Thanks for the help! ![Smile :)](images/smiles/icon_smile.gif) _________________ "Primum non nocere" ---Galen |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|