A copy of the license is included in gfdl.sgml.
-->
-<!-- $Id: changes.sgml,v 1.47 2006-06-05 20:03:40 thib Exp $ -->
+<!-- $Id: changes.sgml,v 1.48 2006-06-05 21:20:46 thib Exp $ -->
<sect1 id="changes">
<title>Changes</title>
<listitem>
<para>Use sockaddr's field sa_len/sun_len on system defining it (BSD, ...). It should allow fcrondyn to connect to fcron on these systems.</para>
</listitem>
+ <listitem>
+ <para>Run each job in a different session by calling setuid() for each one of them. This is to improve compatibility with Vixie cron.</para>
+ </listitem>
<listitem>
<para>By default, don't use the shell defined in /etc/passwd by default, but use the default value form fcron.conf instead. This is for compatibility with Vixie cron.</para>
</listitem>
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: fcrontab.c,v 1.70 2006-06-05 20:02:55 thib Exp $ */
+ /* $Id: fcrontab.c,v 1.71 2006-06-05 21:20:41 thib Exp $ */
/*
* The goal of this program is simple : giving a user interface to fcron
#include "temp_file.h"
#include "read_string.h"
-char rcs_info[] = "$Id: fcrontab.c,v 1.70 2006-06-05 20:02:55 thib Exp $";
+char rcs_info[] = "$Id: fcrontab.c,v 1.71 2006-06-05 21:20:41 thib Exp $";
void info(void);
void usage(void);
/* Open PAM session for the user and obtain any security
credentials we might need */
+ /* FIXME: remove some #ifdef //////////////////////// */
+ /* FIXME: should really uid=euid when calling PAM ? */
#ifdef USE_SETE_ID
if (seteuid(uid) != 0)
die_e("Could not change euid to %d", uid);
/* Close the log here, because PAM calls openlog(3) and
our log messages could go to the wrong facility */
xcloselog();
+ /* FIXME: remove some #ifdef //////////////////////// */
+ /* FIXME: should really uid=euid when calling PAM ? */
#ifdef USE_SETE_ID
if (seteuid(fcrontab_uid) != 0)
die_e("Couldn't change euid to fcrontab_uid[%d]",fcrontab_uid);