]> granicus.if.org Git - fcron/log
fcron
23 years agoadded debug_opt var
thib [Fri, 22 Jun 2001 21:09:58 +0000 (21:09 +0000)]
added debug_opt var

23 years agoadded fcron.conf support>
thib [Fri, 22 Jun 2001 21:09:15 +0000 (21:09 +0000)]
added fcron.conf support>

23 years agoadded Set macro
thib [Fri, 22 Jun 2001 21:08:43 +0000 (21:08 +0000)]
added Set macro
Skip_blanks moved from fcrontab.h to global.h

23 years agoadded the possibility to put a user name before the shell command (=runas)
thib [Fri, 22 Jun 2001 21:08:18 +0000 (21:08 +0000)]
added the possibility to put a user name before the shell command (=runas)

23 years agoSkip_blanks moved from fcrontab.h to global.h
thib [Fri, 22 Jun 2001 21:07:16 +0000 (21:07 +0000)]
Skip_blanks moved from fcrontab.h to global.h

23 years agoadded fcron.conf support
thib [Fri, 22 Jun 2001 21:06:05 +0000 (21:06 +0000)]
added fcron.conf support

23 years agoInitial revision
thib [Fri, 22 Jun 2001 21:05:52 +0000 (21:05 +0000)]
Initial revision

23 years ago*** empty log message ***
thib [Tue, 12 Jun 2001 06:41:06 +0000 (06:41 +0000)]
*** empty log message ***

23 years agoadded an (int) to avoid a warning
thib [Tue, 12 Jun 2001 06:40:33 +0000 (06:40 +0000)]
added an (int) to avoid a warning

23 years agobug corrected about kstat
thib [Wed, 6 Jun 2001 15:26:52 +0000 (15:26 +0000)]
bug corrected about kstat

23 years ago*** empty log message ***
thib [Tue, 5 Jun 2001 10:19:45 +0000 (10:19 +0000)]
*** empty log message ***

23 years agobug corrected : a "all" in allow file with no deny file was considered
thib [Tue, 5 Jun 2001 10:19:10 +0000 (10:19 +0000)]
bug corrected : a "all" in allow file with no deny file was considered
as an non allowed user

23 years agoadded support of kstat for getloadavg under Solaris
thib [Tue, 5 Jun 2001 10:18:16 +0000 (10:18 +0000)]
added support of kstat for getloadavg under Solaris

23 years agoadded a (int) to avoid a warning message
thib [Tue, 5 Jun 2001 10:17:56 +0000 (10:17 +0000)]
added a (int) to avoid a warning message

23 years agoadded support of kstat for getloadavg under Solaris
thib [Tue, 5 Jun 2001 10:17:01 +0000 (10:17 +0000)]
added support of kstat for getloadavg under Solaris
some more tests, test for -x and not -f when it is better (shell, ...)

23 years agobug corrected : boot-install should now work with install.sh even if user
thib [Sun, 3 Jun 2001 10:59:35 +0000 (10:59 +0000)]
bug corrected : boot-install should now work with install.sh even if user
compiles from a dir different from source dir.

23 years agobug corrected : do not cd before using $(INSTALL), as it may be ./install.sh (and...
thib [Sun, 3 Jun 2001 10:57:40 +0000 (10:57 +0000)]
bug corrected : do not cd before using $(INSTALL), as it may be ./install.sh (and install.sh is not in doc dir)

23 years agoadded (int) for is[alnum|digit|...]( (int) *ptr) to avoid warnings
thib [Sun, 3 Jun 2001 10:56:18 +0000 (10:56 +0000)]
added (int) for is[alnum|digit|...]( (int) *ptr) to avoid warnings

23 years agoadded strings.h (required for bzero() under Solaris)
thib [Sun, 3 Jun 2001 10:55:53 +0000 (10:55 +0000)]
added strings.h (required for bzero() under Solaris)

23 years agowe use waitpid() instead of wait4() (which seems not to be defined under Solaris)
thib [Sun, 3 Jun 2001 10:54:22 +0000 (10:54 +0000)]
we use waitpid() instead of wait4() (which seems not to be defined under Solaris)
support of lockf() for systems (Solaris, etc) without flock()

23 years agobug corrected : if a job was running, it couldn't be added to a serior a lavg queue
thib [Fri, 1 Jun 2001 11:34:58 +0000 (11:34 +0000)]
bug corrected : if a job was running, it couldn't be added to a serior a lavg queue

23 years agoadded fcron's option -m
thib [Tue, 29 May 2001 19:27:55 +0000 (19:27 +0000)]
added fcron's option -m

23 years agoadded fcron's option -m
thib [Tue, 29 May 2001 19:10:10 +0000 (19:10 +0000)]
added fcron's option -m

23 years agocode clean in read_file() : we now use macros to shorten the code
thib [Mon, 28 May 2001 18:48:54 +0000 (18:48 +0000)]
code clean in read_file() : we now use macros to shorten the code

23 years agoadded support of termios.h and lockf() for Solaris and SysV systems
thib [Mon, 28 May 2001 18:47:30 +0000 (18:47 +0000)]
added support of termios.h and lockf() for Solaris and SysV systems

23 years ago*** empty log message ***
thib [Thu, 24 May 2001 20:07:42 +0000 (20:07 +0000)]
*** empty log message ***

23 years agoadded option tzdiff
thib [Thu, 24 May 2001 19:57:10 +0000 (19:57 +0000)]
added option tzdiff

23 years agouse $prefix/share/{man|doc} as default (instead of $prefix/{man|doc}
thib [Thu, 24 May 2001 19:56:13 +0000 (19:56 +0000)]
use $prefix/share/{man|doc} as default (instead of $prefix/{man|doc}

23 years ago"user" can now be used instead of "-u user" : more intuitive.
thib [Thu, 24 May 2001 19:54:48 +0000 (19:54 +0000)]
"user" can now be used instead of "-u user" : more intuitive.
security fix : sym link attack against "fcrontab -"

23 years agoadded global var tmp_path (used by temp_file())
thib [Thu, 17 May 2001 00:53:02 +0000 (00:53 +0000)]
added global var tmp_path (used by temp_file())

23 years ago*** empty log message ***
thib [Thu, 17 May 2001 00:52:55 +0000 (00:52 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
thib [Thu, 17 May 2001 00:52:43 +0000 (00:52 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
thib [Tue, 15 May 2001 01:27:28 +0000 (01:27 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
thib [Tue, 15 May 2001 01:22:28 +0000 (01:22 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
thib [Tue, 15 May 2001 01:19:49 +0000 (01:19 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
thib [Tue, 15 May 2001 01:17:38 +0000 (01:17 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
thib [Tue, 15 May 2001 01:17:36 +0000 (01:17 +0000)]
*** empty log message ***

23 years agotemp_file has moved from job.c to subs.c (now used by fcrontab)
thib [Tue, 15 May 2001 00:50:24 +0000 (00:50 +0000)]
temp_file has moved from job.c to subs.c (now used by fcrontab)
some modifications to be used by fcrontab (possibility to know the filename and not to unlink it)

23 years agoconstant options have moved to corresponding .h file
thib [Tue, 15 May 2001 00:49:11 +0000 (00:49 +0000)]
constant options have moved to corresponding .h file

23 years agobug fix : run autoconf and configure before updatedoc to ensure the version is update...
thib [Tue, 15 May 2001 00:46:22 +0000 (00:46 +0000)]
bug fix : run autoconf and configure before updatedoc to ensure the version is updated correctly

23 years agobefore loading a header file, check if it has already been loaded
thib [Tue, 15 May 2001 00:46:11 +0000 (00:46 +0000)]
before loading a header file, check if it has already been loaded

23 years agoinclude in each .c file the corresponding .h file
thib [Tue, 15 May 2001 00:46:00 +0000 (00:46 +0000)]
include in each .c file the corresponding .h file

23 years ago*** empty log message ***
thib [Tue, 15 May 2001 00:44:51 +0000 (00:44 +0000)]
*** empty log message ***

23 years agosecurity bug fix : use temp_file() to avoid symlink attacks
thib [Tue, 15 May 2001 00:44:21 +0000 (00:44 +0000)]
security bug fix : use temp_file() to avoid symlink attacks

23 years agoinclude in each .c file the corresponding .h file
thib [Tue, 15 May 2001 00:42:48 +0000 (00:42 +0000)]
include in each .c file the corresponding .h file

23 years agobefore loading a header file, check if it has already been loaded
thib [Tue, 15 May 2001 00:42:05 +0000 (00:42 +0000)]
before loading a header file, check if it has already been loaded

23 years agotemp_file has moved from job.c to subs.c (now used by fcrontab)
thib [Tue, 15 May 2001 00:37:54 +0000 (00:37 +0000)]
temp_file has moved from job.c to subs.c (now used by fcrontab)

23 years agofix a little error in the comments
thib [Mon, 7 May 2001 01:08:12 +0000 (01:08 +0000)]
fix a little error in the comments

23 years agoconvert also new fcrontab files
thib [Sat, 5 May 2001 19:09:27 +0000 (19:09 +0000)]
convert also new fcrontab files

23 years agochanged name : update_file() is now convert_file()
thib [Sat, 5 May 2001 19:08:51 +0000 (19:08 +0000)]
changed name : update_file() is now convert_file()
added a small explain message

23 years agogpg signing is now done in another makefile
thib [Sat, 5 May 2001 19:08:20 +0000 (19:08 +0000)]
gpg signing is now done in another makefile

23 years ago*** empty log message ***
thib [Mon, 30 Apr 2001 03:02:28 +0000 (03:02 +0000)]
*** empty log message ***

23 years agoadded gpg signing support
thib [Mon, 30 Apr 2001 03:02:03 +0000 (03:02 +0000)]
added gpg signing support

23 years agosupport of the new binary format (no more need to reinstall all the fcrontabs on...
thib [Sun, 29 Apr 2001 22:23:44 +0000 (22:23 +0000)]
support of the new binary format (no more need to reinstall all the fcrontabs on upgrade, but use fcrontab-convert once per fcrontab)

23 years agobetter management of the compilation (no more need for a different instruction for...
thib [Sun, 29 Apr 2001 22:21:31 +0000 (22:21 +0000)]
better management of the compilation (no more need for a different instruction for each object)
added convert-fcrontab

23 years agoInitial revision
thib [Sun, 29 Apr 2001 22:21:09 +0000 (22:21 +0000)]
Initial revision

23 years agoremove unwanted files before anything else
thib [Sun, 29 Apr 2001 22:16:11 +0000 (22:16 +0000)]
remove unwanted files before anything else
better management of memory on error (some fields used not to be free-ed)

23 years agowe now use a header file per c source file
thib [Sun, 29 Apr 2001 22:15:38 +0000 (22:15 +0000)]
we now use a header file per c source file

23 years agoHeader file for fcrontab.c
thib [Sun, 29 Apr 2001 22:14:29 +0000 (22:14 +0000)]
Header file for fcrontab.c

23 years ago*** empty log message ***
thib [Sun, 29 Apr 2001 22:14:20 +0000 (22:14 +0000)]
*** empty log message ***

23 years agoInitial revision
thib [Sun, 29 Apr 2001 22:13:57 +0000 (22:13 +0000)]
Initial revision

23 years agonew default system : we use a macro set_default_opt instead of changing
thib [Sat, 21 Apr 2001 08:56:28 +0000 (08:56 +0000)]
new default system : we use a macro set_default_opt instead of changing
the meaning of a set/unset bit

23 years agoadded functions save_* for the new save system
thib [Sat, 21 Apr 2001 08:55:55 +0000 (08:55 +0000)]
added functions save_* for the new save system

23 years agouse of @srcdir@ to be able to compile fcron from another directory than its source...
thib [Sat, 21 Apr 2001 08:53:40 +0000 (08:53 +0000)]
use of @srcdir@ to be able to compile fcron from another directory than its source dir (and also install it)
use for statement for a clearer code
no more use of options like $5 : we use real names for that
minor bug fix : an erroneous blank line was printed in some case

23 years agouse for statement for a clearer code
thib [Sat, 21 Apr 2001 08:52:53 +0000 (08:52 +0000)]
use for statement for a clearer code

23 years agoInitial revision
thib [Sat, 21 Apr 2001 08:52:16 +0000 (08:52 +0000)]
Initial revision

23 years agouse break instead of goto in wait_chld and wait_all
thib [Sat, 21 Apr 2001 08:50:46 +0000 (08:50 +0000)]
use break instead of goto in wait_chld and wait_all

23 years agoa little bit clearer about the use of @CFLAGS@
thib [Sat, 21 Apr 2001 08:49:10 +0000 (08:49 +0000)]
a little bit clearer about the use of @CFLAGS@
use of @srcdir@ to be able to compile fcron from another directory than its source dir

23 years agowe now use OPTION_SIZE and LAVG_SIZE to set (and get) the size of the option and...
thib [Sat, 21 Apr 2001 08:47:26 +0000 (08:47 +0000)]
we now use OPTION_SIZE and LAVG_SIZE to set (and get) the size of the option and lavg field in a line

23 years agonew save system : the binary format has changed, so it is no more necessary to reinst...
thib [Sat, 21 Apr 2001 08:46:55 +0000 (08:46 +0000)]
new save system : the binary format has changed, so it is no more necessary to reinstall the fcrontabs when upgrading fcron/fcrontab (no more informations loss, etc).

23 years agowe set the umask to the value read by fcron before changing it before running a job
thib [Sat, 21 Apr 2001 08:46:20 +0000 (08:46 +0000)]
we set the umask to the value read by fcron before changing it before running a job

23 years ago*** empty log message ***
thib [Sat, 21 Apr 2001 08:46:11 +0000 (08:46 +0000)]
*** empty log message ***

23 years agobetter management of errors
thib [Sat, 21 Apr 2001 08:44:46 +0000 (08:44 +0000)]
better management of errors
new save system : the binary format has changed, so it is no more necessary to reinstall the fcrontabs when upgrading fcron/fcrontab (no more informations loss, etc).

23 years agobetter management of errors
thib [Sat, 21 Apr 2001 08:43:35 +0000 (08:43 +0000)]
better management of errors
more security tests if fcrontab is suid root

23 years agobug corrected : a too long message used not to be truncated correctly, and the string...
thib [Sat, 21 Apr 2001 08:42:33 +0000 (08:42 +0000)]
bug corrected : a too long message used not to be truncated correctly, and the string " (truncated)" was copyed somewhere in the memory, which could lead to a crash

23 years agowe set the umask to the value read by fcron before changing it before running a job
thib [Sat, 21 Apr 2001 08:39:22 +0000 (08:39 +0000)]
we set the umask to the value read by fcron before changing it before running a job

23 years agoboolean option can be set using "yes" and "no"
thib [Sat, 10 Mar 2001 13:10:23 +0000 (13:10 +0000)]
boolean option can be set using "yes" and "no"

23 years agoset all files in spooldir to the right mode and owner/group
thib [Fri, 9 Mar 2001 18:03:51 +0000 (18:03 +0000)]
set all files in spooldir to the right mode and owner/group

23 years agoprint a list of possibilities before asking user which one he wants
thib [Wed, 7 Mar 2001 19:33:07 +0000 (19:33 +0000)]
print a list of possibilities before asking user which one he wants
to use

23 years agobug corrected : IS_FREEBSD was requested before being set
thib [Wed, 7 Mar 2001 19:32:21 +0000 (19:32 +0000)]
bug corrected : IS_FREEBSD was requested before being set

23 years agothe user for whom the job is run is now logged
thib [Fri, 2 Mar 2001 17:50:34 +0000 (17:50 +0000)]
the user for whom the job is run is now logged

23 years ago*** empty log message ***
thib [Fri, 2 Mar 2001 17:48:34 +0000 (17:48 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
thib [Thu, 1 Mar 2001 19:19:12 +0000 (19:19 +0000)]
*** empty log message ***

23 years agomore precise about what happens if user answers no to all script's proposition
thib [Thu, 1 Mar 2001 19:18:32 +0000 (19:18 +0000)]
more precise about what happens if user answers no to all script's proposition

23 years agobug corrected : env var can now include underscrores (_)
thib [Thu, 1 Mar 2001 18:40:47 +0000 (18:40 +0000)]
bug corrected : env var can now include underscrores (_)

23 years agoadded a message telling user he may get several propositions for doing something...
thib [Thu, 1 Mar 2001 18:40:03 +0000 (18:40 +0000)]
added a message telling user he may get several propositions for doing something by the script

23 years agomake user fcron be in group fcron (and check if it is really the case) as it is neede...
thib [Thu, 1 Mar 2001 18:39:03 +0000 (18:39 +0000)]
make user fcron be in group fcron (and check if it is really the case) as it is needed by fcron to run correctly.

23 years agobug corrected : bootrun jobs wasn't put in serial/lavg queue
thib [Tue, 27 Feb 2001 20:50:03 +0000 (20:50 +0000)]
bug corrected : bootrun jobs wasn't put in serial/lavg queue

23 years ago*** empty log message ***
thib [Tue, 27 Feb 2001 20:50:00 +0000 (20:50 +0000)]
*** empty log message ***

23 years agosecurity fix : used to be able to read root files when running fcrontab -u user -e
thib [Mon, 26 Feb 2001 11:11:10 +0000 (11:11 +0000)]
security fix : used to be able to read root files when running fcrontab -u user -e
(race condition and symlink)

23 years ago*** empty log message ***
thib [Mon, 26 Feb 2001 11:11:06 +0000 (11:11 +0000)]
*** empty log message ***

23 years agoinstall fcron binary as root, not user fcron
thib [Sun, 25 Feb 2001 14:45:32 +0000 (14:45 +0000)]
install fcron binary as root, not user fcron

23 years agonow check for rootgroup wheel
thib [Sun, 25 Feb 2001 14:44:53 +0000 (14:44 +0000)]
now check for rootgroup wheel

23 years agobug corrected : used to modify manpages
thib [Sun, 25 Feb 2001 14:44:31 +0000 (14:44 +0000)]
bug corrected : used to modify manpages

23 years ago*** empty log message ***
thib [Wed, 14 Feb 2001 13:52:09 +0000 (13:52 +0000)]
*** empty log message ***

23 years agomore secure about buffer overflows
thib [Wed, 14 Feb 2001 13:51:14 +0000 (13:51 +0000)]
more secure about buffer overflows

23 years agobug corrected : --prefix used not to work
thib [Wed, 14 Feb 2001 13:49:48 +0000 (13:49 +0000)]
bug corrected : --prefix used not to work

23 years ago"read -p" has been replaced by "echo -n ; read" (not supported by sh)
thib [Wed, 14 Feb 2001 13:48:30 +0000 (13:48 +0000)]
"read -p" has been replaced by "echo -n ; read" (not supported by sh)

23 years agoadded a space before the output "fcron"
thib [Sun, 11 Feb 2001 21:38:28 +0000 (21:38 +0000)]
added a space before the output "fcron"

23 years agobug corrected for freebsd
thib [Sun, 11 Feb 2001 21:37:41 +0000 (21:37 +0000)]
bug corrected for freebsd