[Mailman-Users] Errors with fcron jobs
hugo at hugovil.com
Mon Dec 19 00:36:31 CET 2005
On Sun, 18 Dec 2005 14:15:46 -0800
Mark Sapiro <msapiro at value.net> wrote:
> 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.
In the fcron configuration file, I have already this line for the shell:
shell = /bin/sh
Are there any people using fcron and having success runnin mailman jobs under the mailman user ID, and without having to specify a login shell in /etc/passwd?
More information about the Mailman-Users