login shell

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
Subject: login shell
On 21 Apr 2003, Craig White wrote:

> It seems if I log in as the user and run fetchmail, errors abound and
> each message differs in the number of bytes by 3 or 4 and none of the
> emails are downloaded / flushed from the server.


What errors?

> If I log in as root and then "su craig" it works fine.
>
> I have therefore added the command to "su craig && fetchmail -d 240" to
> /etc/rc.local to start the daemon in this same manner but it would have
> seemed easier to run a cron script but like above, it no workee.


Did you run the cron job as user "craig" (and leave out the su part)?

Jeremy C. Reed

http://www.isp-faq.com/