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 2018-12-09 17:36:10