Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Dec 2005 01:10:31 +0100
From:      freebsd-questions <freebsd-questions@amadeus.demon.nl>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Reading roots mail when connected remotely
Message-ID:  <F865D5CF-A9BB-4B02-ACB1-B5B41501E5EC@amadeus.demon.nl>
In-Reply-To: <e572718c0512211155s7ff8e62ahfe23c8d69659d1b9@mail.gmail.com>
References:  <5ceb5d550512211113v6cbd6130peaf22aa8f158762f@mail.gmail.com> <e572718c0512211155s7ff8e62ahfe23c8d69659d1b9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 21 dec 2005, at 20:55, Pietro Cerutti wrote:

> 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 SSH?
>> When I su, and type "mail", it shows only mail to the user I  
>> connected with.
>
> su - (with the minus sign) simulates a full login, see man su for  
> details
>
...followed by:
mail -uroot

Arno



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F865D5CF-A9BB-4B02-ACB1-B5B41501E5EC>