Redirecting root's mail

 

 

On most systems there are some cronjobs that run as root. Those jobs sent their output to root's mail file/folder. Here's an easy way to redirect those messages, so that regular user can read them. Most desktop users will find this useful.

 

 

Edit as root /etc/aliases file and append the following line:

 

 

root:           regularuser 

 

 

Then run:

 

 

sudo newaliases 

 

 

You should have root privileges to execute those commands. Now regularuser will receive all root's mail.

 

 

No comments yet

Back to articles list

This page was last modified on 2024-03-24 18:52:06