Reading roots mail when connected remotely

illoai at gmail.com illoai at gmail.com
Thu Jan 5 15:50:30 PST 2006


On 1/5/06, JD Arnold <jdarnold at 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


More information about the freebsd-questions mailing list