From owner-freebsd-newbies@FreeBSD.ORG Thu Aug 26 15:06:04 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 6CA3516A4CF for ; Thu, 26 Aug 2004 15:06:04 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D68C43D31 for ; Thu, 26 Aug 2004 15:06:04 +0000 (GMT) (envelope-from freebsd@xtsy.de) Received: from [212.227.126.206] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1C0LpA-0004cV-00; Thu, 26 Aug 2004 17:06:00 +0200 Received: from [80.140.244.242] (helo=WORK) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1C0LpA-0006nT-00; Thu, 26 Aug 2004 17:06:00 +0200 Date: Thu, 26 Aug 2004 17:07:22 +0200 From: "Marcel.lautenbach" X-Mailer: The Bat! (v2.04.7) Business Organization: XTSY X-Priority: 3 (Normal) Message-ID: <348666661.20040826170722@xtsy.de> To: Olivier Gautherot In-Reply-To: <412D9FB1.5010603@freesurf.fr> References: <801213900.20040825215844@xtsy.de> <412D9FB1.5010603@freesurf.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:09d3dc163080560c6eb0588e74d6b604 cc: freebsd-newbies@freebsd.org Subject: Re: changing the shell and editor X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Marcel.lautenbach" 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 15:06:04 -0000 Guten Tag Olivier Gautherot, am Donnerstag, 26. August 2004 um 10:30 schrieben Sie: OG> Hi Marcel! >>hi again, >> >>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? >> >>pleas help. >> >> OG> Just a dumb question: did you try logging out and back in? OG> You need to do that to refresh for sure your environment OG> (reboot not necessary: it's not Windows :-) ). OG> Also, if you use the bash/csh command "set", it will affect only OG> the current shell. Nested invocations won't be affected. OG> Try "setenv" in csh or "export" in bash. OG> Hope it helps OG> Olivier hi folks, well, problem is solved. i tried the export in bash. i was just wondering why there was nothing in my $SHELL or $EDITOR variabel when using the set. export worked. nevertheless i tend to stick with vipw and chsh. they are rather good, for me personal. and, vipw rewrites the database for the password-file. so, it's kind of secure :-) and i think i will store my little changes in the bash-profile :-) so, thanks all for your help :-)