[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Running a script from /etc/ip-up.d



Thanks,

I will try that, but the .fetchmailrc file in /home/cdysthe is owned by root.
Shouldn't that be enough?

On 13-Apr-99 John Hasler wrote:
>> #! /bin/sh
>> fetchmail -f /home/cdysthe/.fetchmailrc
> 
>> However, if I put it in /etc/ip-up.d they do not work as intended: I can
>> see the fetchamil process start as soon as I am connected, but fetchmail
>> won't collect mail in this case. It just hangs there inactive.
> 
> In ip-up.d it is being run as root, not as cdysthe.  Try
> 
> su -c fetchmail cdysthe
> 
> This will run the fetchmail command as 'cdysthe'.
> -- 
> John Hasler
> john@dhh.gt.org (John Hasler)
> Dancing Horse Hill
> Elmwood, WI
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org <
> /dev/null
> 
> 
> 

-----------------------------------
Regards,
Christian Dysthe
Email: cdysthe@bigfoot.com
http://www.bigfoot.com/~cdysthe
ICQ 3945810
Date: 13-Apr-99
Time: 15:05:23
This message was sent by XFmail
Powered by Debian GNU/Linux
-----------------------------------


Reply to: