Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Dec 2005 20:55:24 +0100
From:      Pietro Cerutti <pietro.cerutti@gmail.com>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Reading roots mail when connected remotely
Message-ID:  <e572718c0512211155s7ff8e62ahfe23c8d69659d1b9@mail.gmail.com>
In-Reply-To: <5ceb5d550512211113v6cbd6130peaf22aa8f158762f@mail.gmail.com>
References:  <5ceb5d550512211113v6cbd6130peaf22aa8f158762f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/21/05, Daniel A. <ldrada@gmail.com> wrote:
> Stupid question, I know :(
> How do I read the mail sent to root, if I can only access my server via S=
SH?
> When I su, and type "mail", it shows only mail to the user I connected wi=
th.

su - (with the minus sign) simulates a full login, see man su for details

--
Pietro Cerutti
<pietro.cerutti@gmail.com>

Beansidhe - SwiSS Death / Thrash Metal
<www.beansidhe.ch>

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"



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