Mailing List Archive

source profile.env from non-interactive shell
Hello,

I have a bash script executed from cronie's anacron daemon which
performs a local rsync backup and then emails the status via nullmailer
. The latter part never worked until I understood that some
nullmailer-inject options that I set via environment variables are not
visible from the bash script when spawned by anacron (all was fine from
an interactive shell). Adding a 'source /etc/profile.env' to the bash
script solved the issue.

Are there any contraindication to sourcing the whole profile.env from a
non-interactive shell? Potential security issues?

thanks,

raffaele