fetchmail - why does CentOS 5 not like my old cron job?
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
RH 7.1 is ancient and was probably running an equally ancient version of fetchmail. The don't run as root warning was probably added in a later version of fetchmail. It's good advice, too, if you run fetchmail as root and there is a security flaw in it or you have it con figured badly, then a malicious server or mail message could be used to gain complete control of your system for an attacker.
The solution is to run fetchmail as a nonprivileged user. A user's cron jobs run whenever they are scheduled -- not jsut when the user is logged in.