From owner-freebsd-questions@FreeBSD.ORG Fri Sep 8 15:19:00 2006 Return-Path: X-Original-To: freebsd-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 2EE2016A519 for ; Fri, 8 Sep 2006 15:19:00 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAD1C43D6D for ; Fri, 8 Sep 2006 15:18:52 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: by wx-out-0506.google.com with SMTP id i27so662234wxd for ; Fri, 08 Sep 2006 08:18:52 -0700 (PDT) Received: by 10.70.44.5 with SMTP id r5mr337906wxr; Fri, 08 Sep 2006 08:18:51 -0700 (PDT) Received: from scorpio.seibercom.net ( [67.189.184.224]) by mx.gmail.com with ESMTP id i37sm3299545wxd.2006.09.08.08.18.51; Fri, 08 Sep 2006 08:18:51 -0700 (PDT) Received: from scorpio.seibercom.net (localhost [127.0.0.1]) by scorpio.seibercom.net (Postfix) with ESMTP id 541F3C036 for ; Fri, 8 Sep 2006 11:18:50 -0400 (EDT) Received: from [192.168.0.4] (boss.seibercom.net [192.168.0.4]) (Authenticated sender: gerard@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTP id A4CA5BC44 for ; Fri, 8 Sep 2006 11:18:49 -0400 (EDT) Date: Fri, 08 Sep 2006 11:19:07 -0400 From: Gerard Seibert To: freebsd-questions@freebsd.org Organization: Seibercom In-Reply-To: <1cac28080609080749q4fe4d31agc51d5206b0340f5c@mail.gmail.com> References: <1cac28080609080749q4fe4d31agc51d5206b0340f5c@mail.gmail.com> X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Message-Id: <20060908111738.2EBC.GERARD@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Mailer: Becky! ver. 2.25 [en] X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: Changing Default Editor in profile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 15:19:00 -0000 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? Try using: su -m instead. -- Gerard Seibert gerard@seibercom.net Give a man a fire, he is warm for a night. Set a man on fire and he is warm for the rest of his life.