Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Sep 2001 01:34:46 -0500 (CDT)
From:      mcbrune <mcbrune@home.com>
To:        "Gary W. Swearingen" <swear@blarg.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: mail command tries to read wrong user's mail
Message-ID:  <200109230634.f8N6YkJ01639@home.com>
In-Reply-To: <znadznyt1z.dzn@localhost.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help
su -
With the dash, su will read the profile of the user, in this case root.


Corey

> 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?
> 
> P.S.  For now, I'm using "mail -f /var/mail/root".
> 
> Thanks.
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109230634.f8N6YkJ01639>