From owner-freebsd-questions@FreeBSD.ORG Fri Sep 8 14:59:52 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8631B16A4DF for ; Fri, 8 Sep 2006 14:59:52 +0000 (UTC) (envelope-from dominique.goncalves@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 134C843D45 for ; Fri, 8 Sep 2006 14:59:51 +0000 (GMT) (envelope-from dominique.goncalves@gmail.com) Received: by wr-out-0506.google.com with SMTP id 68so179315wri for ; Fri, 08 Sep 2006 07:59:51 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=h1m+us/Ps+hCMp3w0CEA9KHUylgWsJX/7DxFUv3ipPuWSIEZUXrwuPZ5At3VNkLrcAiYJtnML+NLHIXlxrbbe5QjBjtV15j+M2lwcFYgpiaDYxAH5F5Q7Hn+tzazb83OCeEgY1+d5x4UIockSZ9hhS4a54HzhqMW5FZP+MG8vYk= Received: by 10.90.50.6 with SMTP id x6mr780646agx; Fri, 08 Sep 2006 07:59:50 -0700 (PDT) Received: by 10.90.31.3 with HTTP; Fri, 8 Sep 2006 07:59:50 -0700 (PDT) Message-ID: <7daacbbe0609080759m21433582q5518912d23c8cd22@mail.gmail.com> Date: Fri, 8 Sep 2006 16:59:50 +0200 From: "Dominique Goncalves" To: "Huy Ton That" In-Reply-To: <1cac28080609080749q4fe4d31agc51d5206b0340f5c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1cac28080609080749q4fe4d31agc51d5206b0340f5c@mail.gmail.com> Cc: questions@freebsd.org Subject: Re: Changing Default Editor in profile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 14:59:52 -0000 Hi, On 9/8/06, Huy Ton That wrote: > under my home directory for root under .profile I added the line: > > EDITOR=pico; export EDITOR > > where no such line existed for EDITOR before; this line exists in my > personal account that I use and my default for external launched editors is > now pico such that I can edit crontab stuff easily. However, when I ssh in > and then su, I try to run crontab only to find it is still booting into 'vi' > by default. Any ideas how I can get this loaded? You have to use "su -", if you want load your root's environnement. su(1) for more explications. HTH > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Regards. -- There's this old saying: "Give a man a fish, feed him for a day. Teach a man to fish, feed him for life."