View previous topic :: View next topic |
Author |
Message |
cgmd Veteran


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 |
|
 |
massimo Veteran


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 |
|
 |
cgmd Veteran


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!  _________________ "Primum non nocere" ---Galen |
|
Back to top |
|
 |
|