<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 11/17/2009 08:24 AM, Robin Hill wrote:
<blockquote
cite="mid:20091117132407.GB21280@cthulhu.home.robinhill.me.uk"
type="cite">What users are you running things under? The cron.daily
scripts will<br>
<pre wrap="">run as root, so you may need to add an 'su' to the script to force it to
run under the correct user account.
HTH,
Robin
</pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a>
</pre>
</blockquote>
Well, I can run it from the command line as my normal user. I'm using
Ubuntu 9.10, and I know that the cron.daily stuff is running as root.
Shouldn't that mean root can run the script fine? If I add an su in it
to my normal account, how do I do it so I'm not prompted for the
password? That defeats the purpose of if running in the background if
I have to be there to enter the password every day.<br>
<br>
Thanks,<br>
Harry<br>
<br>
</body>
</html>