Subject: Re: things displayed at login
To: None <netbsd-help@netbsd.org>
From: James K. Lowden <jklowden@schemamania.org>
List: netbsd-help
Date: 07/23/2001 21:39:40
Sam, 

On Mon, Jul 23, 2001 at 10:41:55AM -0400, Sam Carleton wrote:
> When I log in as my normal user, this is displayed right before the
> prompt:
> 
> /usr/games/fortune: Command not found.
> 
> Where is fortune running from?

Perhaps from ~/.profile?  What shell are you using?  Sounds like you
don't have or don't have rights to your fortune. ;-)

> When I login as root (really us sudo), I get this on the line before the
> prompt:
> 
> mch: Undefined variable.

In /root/.profile (if sh or bash), is there a line with "mch" where
there ought to be "$mch"?

Just a guess.  Not an expert.  

--jkl