Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Jun 09, 2014 5:48 am 
Offline
Senior Newbie

Joined: Thu May 08, 2014 6:53 am
Posts: 7
Hi :-)

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!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group