From owner-freebsd-questions@FreeBSD.ORG Fri Mar 30 09:59:39 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 129C816A401 for ; Fri, 30 Mar 2007 09:59:39 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (www.unsane.co.uk [85.233.185.162]) by mx1.freebsd.org (Postfix) with ESMTP id 95F9713C468 for ; Fri, 30 Mar 2007 09:59:38 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from [192.168.10.217] (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id l2U9xgfN027250 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 30 Mar 2007 10:59:43 +0100 (BST) (envelope-from jhary@unsane.co.uk) Message-ID: <460CDF88.90002@unsane.co.uk> Date: Fri, 30 Mar 2007 10:59:36 +0100 From: Vince User-Agent: Thunderbird 1.5.0.10 (X11/20070327) MIME-Version: 1.0 To: freebsd-questions References: <20070330090734.GA1336@airfish.power.org> In-Reply-To: <20070330090734.GA1336@airfish.power.org> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: where environment variable MAIL was set? 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, 30 Mar 2007 09:59:39 -0000 Zheng Tianyu wrote: > Hi, All > > My account name is airfish, after I sued to root, I found that the > environment variable MAIL remained MAIL=/var/mail/airfish. As a result, > when I start mutt, it opens the airfish's mailbox. That's not what i > desired. But I can't find where the MAIL is set. Should I unsetenv MAIL > in my root's login file? >From the manpage: By default, the environment is unmodified with the exception of USER, HOME, and SHELL. and -l Simulate a full login. The environment is discarded except for HOME, SHELL, PATH, TERM, and USER. HOME and SHELL are modified as above. Vince > _______________________________________________ > 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"