[Mailman-Users] Errors with fcron jobs
Mark Sapiro
msapiro at value.net
Sun Dec 18 23:15:46 CET 2005
Hugo Villeneuve wrote:
>
> I'm using fcron to schedule the mailman jobs. I configured fcron to run the mailman jobs as the mailman user (fcrontab -u mailman...). I also created the mailman user with no login shell (/bin/false), similar to what is suggested in the mailman installation manual.
>
> When the mailman jobs are run by fcron, an exit status of 1 is returned. I have found that if I replace the "/bin/false" shell entry with "/bin/sh" for the mailman user in the /etc/passwd file, fcron correctly runs the mailman jobs.
>
> What can be wrong with my setup?
The installation manual assumes you'll use cron.
fcron by default runs commands using the user's login shell from
/etc/passwd. Thus you have to either specify a valid shell in
/etc/passwd or override it by assigning to SHELL in the crontab.
--
Mark Sapiro <msapiro at value.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users
mailing list