From: thib Date: Sat, 10 Aug 2002 20:40:09 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: ver1564~67 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8517e9d2561b5bfed2b79ebef289b4d3bbc230c6;p=fcron *** empty log message *** --- diff --git a/conf.c b/conf.c index b63b96d..575a0ee 100644 --- a/conf.c +++ b/conf.c @@ -22,7 +22,7 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: conf.c,v 1.54 2002-03-02 17:28:07 thib Exp $ */ + /* $Id: conf.c,v 1.55 2002-08-10 20:40:09 thib Exp $ */ #include "fcron.h" @@ -459,7 +459,7 @@ read_file(const char *file_name, CF *cf) else { if ( file_stat.st_uid == ROOTUID ) /* file is owned by root : either this file has already been parsed - * at least once by fcron, either it is the root's fcrontab */ + * at least once by fcron, or it is root's fcrontab */ runas = ROOTUID; else { error("Non-new file %s owned by someone else than root",file_name); diff --git a/doc/en/changes.sgml b/doc/en/changes.sgml index b954e9a..20b3178 100644 --- a/doc/en/changes.sgml +++ b/doc/en/changes.sgml @@ -8,23 +8,32 @@ Foundation. A copy of the license is included in gfdl.sgml. --> - + Changes From version 2.9.0 to 2.9.1 + + fcron can now be run without root's privileges (see FAQ) + added configure's option --with-boot-install . Minor change in the PAM code of fcron : may work better on some system. + + + configure script now uses getpwnam() and getgrnam() instead of + reading directly /etc/passwd and /etc/group : this makes easier the use of NIS, LDAP, + etc. Bug fix : using some "cmd > /dev/stderr" (or stdout) in a script -used to make fcron send a bogus output mail. +used to make fcron send a bogus output mail. (rewrite of the code managing the +output of jobs) Bug fix : typo error prevented fcrontab to be compiled on some diff --git a/doc/en/relnotes.sgml b/doc/en/relnotes.sgml index 1653ee6..02f3d2e 100644 --- a/doc/en/relnotes.sgml +++ b/doc/en/relnotes.sgml @@ -8,7 +8,7 @@ Foundation. A copy of the license is included in gfdl.sgml. --> - + Release notes : &fcron; &version; @@ -23,7 +23,7 @@ can disable PAM use in configure, using "--with-pam=no". particular, fcrondyn does not use PAM yet. - Fcrondyn may not be very secure, and may be used to block + Fcrondyn might be not very secure, and might be used to block &fcron;. diff --git a/doc/en/todo.sgml b/doc/en/todo.sgml index 88018e2..82a3ae2 100644 --- a/doc/en/todo.sgml +++ b/doc/en/todo.sgml @@ -8,7 +8,7 @@ Foundation. A copy of the license is included in gfdl.sgml. --> - + Todo @@ -20,6 +20,7 @@ well. bug fix : makewhatis does not work correctly with fcron 2.9.0 + Help is welcome to catch this bug ! bug fix (?) : "already running" bug (? - unconfirmed) diff --git a/socket.c b/socket.c index 92e69e9..5fb1562 100644 --- a/socket.c +++ b/socket.c @@ -21,7 +21,7 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: socket.c,v 1.3 2002-07-19 19:40:57 thib Exp $ */ + /* $Id: socket.c,v 1.4 2002-08-10 20:41:46 thib Exp $ */ /* This file contains all fcron's code (server) to handle communication with fcrondyn */ @@ -80,7 +80,7 @@ init_socket(void) /* */ if ( chmod(fifofile, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH) != 0 ) - error_e("Cannot fchmod() socket file"); + error_e("Cannot chmod() socket file"); /* */ fcntl(listen_fd, F_SETFD, 1);