From owner-freebsd-questions Sat Sep 22 12:54:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from albatross.prod.itd.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by hub.freebsd.org (Postfix) with ESMTP id C801037B41A for ; Sat, 22 Sep 2001 12:54:28 -0700 (PDT) Received: from blossom.cjclark.org (dialup-209.244.106.54.Dial1.SanJose1.Level3.net [209.244.106.54]) by albatross.prod.itd.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id MAA03813; Sat, 22 Sep 2001 12:54:27 -0700 (PDT) Received: (from cjc@localhost) by blossom.cjclark.org (8.11.4/8.11.3) id f8MJsPM11199; Sat, 22 Sep 2001 12:54:25 -0700 (PDT) (envelope-from cjc) Date: Sat, 22 Sep 2001 12:54:25 -0700 From: "Crist J. Clark" To: "Gary W. Swearingen" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: mail command tries to read wrong user's mail Message-ID: <20010922125425.M980@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from swear@blarg.net on Sat, Sep 22, 2001 at 11:33:12AM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Sep 22, 2001 at 11:33:12AM -0700, Gary W. Swearingen wrote: > I log in as "johndoe", su to "root" and enter the basic "mail" command and > get this message: "No mail for johndoe". > > Command "id -p" gives (first two lines): > login johndoe > uid root > > Anyone know how I should fix this? This is a feature, not a bug. There is nothing to fix. > P.S. For now, I'm using "mail -f /var/mail/root". This is a good workaround. However, root really should not be getting email. Typically, mail destined for root should be aliased to the administrator(s) of the systems real email address(es). Logging in as root just to read email is not a good policy. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message