]> granicus.if.org Git - fcron/commitdiff
*** empty log message ***
authorthib <thib>
Sat, 20 May 2006 16:32:28 +0000 (16:32 +0000)
committerthib <thib>
Sat, 20 May 2006 16:32:28 +0000 (16:32 +0000)
allow.c
doc/en/changes.sgml
doc/en/faq.sgml
doc/en/todo.sgml
doc/fr/fcrontab.5.sgml

diff --git a/allow.c b/allow.c
index 47556478d3ed387bb024eb8579da92b15b886ff3..309ed45c4d1a2f70ebedfebd3bfc9b21186795d6 100644 (file)
--- a/allow.c
+++ b/allow.c
@@ -22,7 +22,7 @@
  *  `LICENSE' that comes with the fcron source distribution.
  */
 
- /* $Id: allow.c,v 1.15 2006-01-11 00:58:02 thib Exp $ */
+ /* $Id: allow.c,v 1.16 2006-05-20 16:32:28 thib Exp $ */
 
 #include "fcrontab.h"
 
@@ -82,7 +82,8 @@ is_allowed(char *user)
     int deny = 0;
 
     /* check if user is in passwd file */
-    if ( ! getpwnam(user) )
+    errno = 0;
+    if ( ( ! getpwnam(user) ) || errno != 0 )
        return 0;
 
     /* check if user is in fcron.allow and/or in fcron.deny files */
index 961b66888fb15ee84f98a377e8efbd5e778ddee1..e53f23a17b9ac750be46e76a4fbf2e726bf0fa61 100644 (file)
@@ -8,11 +8,24 @@ Foundation.
 A copy of the license is included in gfdl.sgml.
 -->
 
-<!-- $Id: changes.sgml,v 1.45 2006-02-06 21:31:26 thib Exp $ -->
+<!-- $Id: changes.sgml,v 1.46 2006-05-20 16:32:57 thib Exp $ -->
 
    <sect1 id="changes">
       <title>Changes</title>
 
+      <itemizedlist>
+        <title>From version 3.0.1 to 3.0.2</title>
+        <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>
+        <listitem>
+           <para>Use root name and group instead of root uid and gid. This seems more logical since the configure scripts asks for the name and group and not the uid and gid.</para>
+        </listitem>
+        <listitem>
+           <para>Added an init file for Suse in script/ (contribution from Alex: thanks!).</para>
+        </listitem>
+      </itemizedlist>
+
       <itemizedlist>
         <title>From version 3.0.0 to 3.0.1</title>
         <listitem>
index 2d96569a8d82dceb101d2dbb020591015114b20a..6e99bc263c3bc446f640bdfdafe15301590fd1b0 100644 (file)
@@ -8,7 +8,7 @@ Foundation.
 A copy of the license is included in gfdl.sgml.
 -->
 
-<!-- $Id: faq.sgml,v 1.14 2006-01-11 01:01:18 thib Exp $ -->
+<!-- $Id: faq.sgml,v 1.15 2006-05-20 16:32:36 thib Exp $ -->
 
 <sect1 id="faq">
     <title>Frequently Asked Questions</title>
@@ -324,7 +324,7 @@ and set appropriately the paths:</para>
                  but by run-parts, which is independent from fcron).</para>
               <para>So if you want to replace transparently Vixie cron by fcron,
                  all you have to do is creating a /usr/bin/crontab link to
-                 /usr/bin/crontab, and to reinstall the system (f)crontab
+                 /usr/bin/fcrontab, and to reinstall the system (f)crontab
               with fcrontab /etc/crontab each time you modify it
                  (if you find something else to do, please tell me!).</para>
               <para>You can also use the script script/check_system_crontabs
index a819bb44fbb45c99e8f1c4022a54b029e7a8d9fa..8f3cc5fae07ff7ee90d985680d41cb9a34b17ce1 100644 (file)
@@ -8,7 +8,7 @@ Foundation.
 A copy of the license is included in gfdl.sgml.
 -->
 
-<!-- $Id: todo.sgml,v 1.38 2006-01-11 01:02:16 thib Exp $ -->
+<!-- $Id: todo.sgml,v 1.39 2006-05-20 16:32:49 thib Exp $ -->
 
    <sect1 id="todo">
       <title>Todo</title>
@@ -25,13 +25,16 @@ A copy of the license is included in gfdl.sgml.
         <title>High priority</title>
         <itemizedlist>
            <listitem>
-              <para>test the fix for empty mails on non linux systems (solaris seems ok, feedback on BSD?) (starting from fcron 2.9.7 -- no complain so far, so fixed?)</para>
+              <para>test + update the doc on how SHELL is defined (priority: 1) value from fcrontab file 2) value from fcron.conf if non-zero long string 3) value from /etc/passwd -- default value for SHELL in fcron.conf is now "")</para>
            </listitem>
            <listitem>
-              <para>bug fix: what happens if the grand-child cannot be forked or cannot run the job in job.c? + better loop to read/write the pid of grand-child from/by the child (fcron freezes if the filesystem on which it operates has no space left? (cannot reproduce it on my linux system)</para>
+              <para>set TZ env. var. for jobs for which option tz is used.</para>
            </listitem>
            <listitem>
-              <para>set TZ env. var. for jobs for which option tz is used.</para>
+              <para>Test (and use ?) docbook2x-man -- xlstproc ? cf http://antoine.ginies.free.fr/docbook/ch09.html</para>
+           </listitem>
+           <listitem>
+              <para>find way to have the non translated pages of the French translation be updated automatically (changes, todo, etc -> copied from the English doc)</para>
            </listitem>
         </itemizedlist>
       </sect2>
index 47fd77e8f2abaae3c80a9d250fa1a9e8de08a457..c9695fb7fb72864225f642e7bb390e46b9d70600 100644 (file)
@@ -8,7 +8,7 @@ Foundation.
 A copy of the license is included in gfdl.sgml.
 -->
 
-<!-- $Id: fcrontab.5.sgml,v 1.2 2006-02-06 18:36:07 thib Exp $ -->
+<!-- $Id: fcrontab.5.sgml,v 1.3 2006-05-20 16:32:58 thib Exp $ -->
 
 <refentry id="fcrontab.5">
   <refmeta>
@@ -97,7 +97,7 @@ A copy of the license is included in gfdl.sgml.
     </refsect2>
 
     <refsect2 id="uptent">
-      <title>EntrÉes basÉes sur le temps ÉcoulÉ depuis le démarrage du systÉme
+      <title>EntrÉes basÉes sur le temps ÉcoulÉ depuis le démarrage du systÈme
       </title>
       <para>Les entrées des commandes qui doivent être exécutées une fois
         toutes les m minutes de l'exécution de &fcron; (qui sont normalement