On Sun, 18 Dec 2005 14:15:46 -0800
Mark Sapiro <[EMAIL PROTECTED]> 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?

Hugo.
------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to