Subject: Re: scp and .profile in 1.5.1_ALPHA
To: Jeremy C. Reed <reed@reedmedia.net>
From: Charlie Allom <charlie@rubberduck.com>
List: current-users
Date: 04/08/2001 14:42:20
On Sat, Apr 07, 2001 at 09:38:48PM -0700, Jeremy C. Reed wrote:
> > either way, why did this not happen before? I have had my system
> > like this for a long time now.
> 
> What was the previous sshd?

no idea.

> 
> My only guess is that your previous sshd didn't use your user shell and
> defaulted to /bin/sh -- so .bashrc wasn't even used.

Ah sounds reasonable.

> 
> Also, .profile is for logins and .bashrc is for all interactive bash uses.
> (For example, every time you open an xterm, it was probably doing your
> fortune -- probably not what you intended.)

Actually I like my fortunes that much .. :)

  C.
-- 
 charlie@rubberduck.com    Melbourne, Australia
 http://rubberduck.com/    PGP preferred
 F848 3B10 D181 E5EC 84CD  9CA2 7686 6210 FB54 66D1