Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] With SSH connection, /.bashrc isn't sourced...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Mon Mar 31, 2008 12:11 pm    Post subject: [Solved] With SSH connection, /.bashrc isn't sourced... Reply with quote

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
View user's profile Send private message
massimo
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1226

PostPosted: Mon Mar 31, 2008 12:25 pm    Post subject: Reply with quote

Take a look at any user's bash_profile - this sources bashrc.
_________________
Hello 911? How are you?
Back to top
View user's profile Send private message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Mon Mar 31, 2008 3:31 pm    Post subject: Reply with quote

massimo wrote:
Take a look at any user's bash_profile - this sources bashrc.

Excellent! I had no /root/.bash_profile :oops:

Thanks for the help! :)
_________________
"Primum non nocere" ---Galen
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum