From owner-freebsd-newbies@FreeBSD.ORG Thu Aug 26 06:21:48 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22FCA16A4E0 for ; Thu, 26 Aug 2004 06:21:48 +0000 (GMT) Received: from gatecrasher.dyndns.org (pool-138-88-72-53.res.east.verizon.net [138.88.72.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A89343D68 for ; Thu, 26 Aug 2004 06:21:47 +0000 (GMT) (envelope-from gewasiuk@gatecrasher.dyndns.org) Received: from localhost (localhost.dyndns.org [127.0.0.1]) i7Q6LiiH001681 for ; Thu, 26 Aug 2004 02:21:44 -0400 (EDT) (envelope-from gewasiuk@gatecrasher.dyndns.org) Date: Thu, 26 Aug 2004 02:21:44 -0400 (EDT) From: Gordon Ewasiuk To: freebsd-newbies@freebsd.org In-Reply-To: <801213900.20040825215844@xtsy.de> Message-ID: <20040826021642.Q1668@gatecrasher.dyndns.org> References: <801213900.20040825215844@xtsy.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on gatecrasher.dyndns.org Subject: Re: changing the shell and editor X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2004 06:21:48 -0000 On Wed, 25 Aug 2004, Marcel.lautenbach wrote: > well, i've tried a bit playin with the /etc/master.passwd, adduser, > vipw an so on. > > now i use the bash shell. but, i am not able to change my enviroment > variables anymore. trying "set EDITOR emacs" did not work. when ich > echo my editor variable, it is empty. though i have changed my shell > back to csh in the /etc/master.password file, when i log on i still > use the bash. > > rebooting the system or kill -1 1 didn't do any good. i am getting > confused now a bit. acually changes in the master.passwd file should > take effect in any case, shouldn't they? greetings marcel, try using 'pw' to change your shell: pw user mod $username -s /bin/$shell also, when i set variables in bash: [myserver]$ echo $SHELL /bin/bash [myserver]$ name=marcel [myserver]$ echo $name marcel regards, -gordon