Anacron auto login from Cadaver (.netrc)
Im using Cadaver (WebDav command line) to backup from my Linode (CentOs 6) to my home NAS. I use a shell script with .netrc credential to automate the task. When i run the script as root everything works as expected. The problem comes when i call the script from a daily anacron task.
I think that Anacron runs as a different user as root and doesnt have the credentials in .netrc. So im wondering who is the user that runs anacron or if someone knows how to set a .netrc so anacron gets credentials for "auto login".
Thanks for any help!