Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jan 2006 17:50:28 -0600
From:      "illoai@gmail.com" <illoai@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Reading roots mail when connected remotely
Message-ID:  <d7195cff0601051550o7b3c4a34hc82b6c767a0787d7@mail.gmail.com>
In-Reply-To: <dpk8qf$rn1$1@sea.gmane.org>
References:  <5ceb5d550512211113v6cbd6130peaf22aa8f158762f@mail.gmail.com> <dpk8qf$rn1$1@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/5/06, JD Arnold <jdarnold@buddydog.org> wrote:
>
> Daniel A. wrote:
> > How do I read the mail sent to root, if I can only access my server via
> SSH?
> > When I su, and type "mail", it shows only mail to the user I connected
> with.
>
> Yeah, I had the same problem.  I've been doing 'su -l', which simulates a
> full login, so then I really am root.
>

edit /etc/aliases
to send root's mail to your usual login
remember to run /usr/bin/newaliases



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