Reading roots mail when connected remotely

freebsd-questions freebsd-questions at amadeus.demon.nl
Thu Dec 22 16:10:34 PST 2005


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

> On 12/21/05, Daniel A. <ldrada at 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


More information about the freebsd-questions mailing list