root mail via su

Hi everyone,

I cannot seem to access root’s mail via su. The system still checks my orginal username.

How can I read it w/o logging in as root. (I have disabled root login.)


use su - not just su as this doesn’t pull in root’s environment or put
you in root’s home directory.

As an aside, why not update aliases file and send root mail to your
user name?

Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel
up 2 days 4:11, 2 users, load average: 1.06, 1.08, 0.72
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

Malcolm wrote:


If you don’t like the command line, updating the aliases can be done rather
painlessly with webmin.