]> granicus.if.org Git - fcron/log
fcron
18 years agoadded get_user_uid_safe() and get_group_gid_safe()
thib [Sat, 20 May 2006 16:31:31 +0000 (16:31 +0000)]
added get_user_uid_safe() and get_group_gid_safe()

18 years agoadded get_user_uid_safe() and get_group_gid_safe()
thib [Sat, 20 May 2006 16:29:41 +0000 (16:29 +0000)]
added get_user_uid_safe() and get_group_gid_safe()
don't use the shell defined in /etc/passwd by default, but use the default value form fcron.conf instead

18 years agoInitial revision
thib [Sat, 20 May 2006 16:28:03 +0000 (16:28 +0000)]
Initial revision

18 years agoupdated README to match the presence of several translations of the doc
thib [Sat, 20 May 2006 16:25:41 +0000 (16:25 +0000)]
updated README to match the presence of several translations of the doc

18 years agodon't use the shell defined in /etc/passwd by default, but use the default value...
thib [Sat, 20 May 2006 16:23:42 +0000 (16:23 +0000)]
don't use the shell defined in /etc/passwd by default, but use the default value form fcron.conf instead.

18 years agouser ROOTNAME/ROOTGROUP instead of ROOTUID/ROOTGID
thib [Sat, 20 May 2006 16:22:37 +0000 (16:22 +0000)]
user ROOTNAME/ROOTGROUP instead of ROOTUID/ROOTGID

18 years ago*** empty log message *** ver3_0_1
thib [Mon, 6 Feb 2006 21:31:26 +0000 (21:31 +0000)]
*** empty log message ***

18 years agoupdated installation process to support translations of the doc in multiple languages
thib [Mon, 6 Feb 2006 18:36:27 +0000 (18:36 +0000)]
updated installation process to support translations of the doc in multiple languages

18 years ago*** empty log message ***
thib [Mon, 6 Feb 2006 18:35:03 +0000 (18:35 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
thib [Sun, 5 Feb 2006 20:59:40 +0000 (20:59 +0000)]
*** empty log message ***

18 years agodo not use tv_usec > 999999 to ensure it is a valid value on BSD systems
thib [Sun, 5 Feb 2006 20:59:08 +0000 (20:59 +0000)]
do not use tv_usec > 999999 to ensure it is a valid value on BSD systems

18 years agofixed a buffer overflow problem in make_msg()
thib [Sun, 5 Feb 2006 20:49:35 +0000 (20:49 +0000)]
fixed a buffer overflow problem in make_msg()

18 years agoUpdated to support multiple languages (so far: en, fr)
thib [Sun, 5 Feb 2006 19:26:40 +0000 (19:26 +0000)]
Updated to support multiple languages (so far: en, fr)

18 years agoInitial revision
thib [Sun, 5 Feb 2006 19:25:05 +0000 (19:25 +0000)]
Initial revision

18 years agoimproved explanations
thib [Wed, 11 Jan 2006 01:02:21 +0000 (01:02 +0000)]
improved explanations

18 years agofor man pages, write the doctype declaration on only 1 line
thib [Wed, 11 Jan 2006 01:01:46 +0000 (01:01 +0000)]
for man pages, write the doctype declaration on only 1 line

18 years ago*** empty log message ***
thib [Wed, 11 Jan 2006 01:01:32 +0000 (01:01 +0000)]
*** empty log message ***

18 years agoremoved spaces before punctuation
thib [Wed, 11 Jan 2006 01:01:18 +0000 (01:01 +0000)]
removed spaces before punctuation

18 years agoremoved spaces before punctuation
thib [Wed, 11 Jan 2006 01:00:46 +0000 (01:00 +0000)]
removed spaces before punctuation
improved a few explanations

18 years agoupdated copyright
thib [Wed, 11 Jan 2006 00:59:55 +0000 (00:59 +0000)]
updated copyright
removed spaces before punctuation

18 years agomore comments, added some help (IGNORE)
thib [Wed, 11 Jan 2006 00:57:29 +0000 (00:57 +0000)]
more comments, added some help (IGNORE)
updated copyright

18 years agomore comments, added some help messages, added command line options, cleaner, safer...
thib [Wed, 11 Jan 2006 00:55:12 +0000 (00:55 +0000)]
more comments, added some help messages, added command line options, cleaner, safer code

18 years agoupdated copyright
thib [Wed, 11 Jan 2006 00:54:44 +0000 (00:54 +0000)]
updated copyright
fixed a small bug (define FUNCTION)

18 years agoupdated copyright
thib [Wed, 11 Jan 2006 00:52:17 +0000 (00:52 +0000)]
updated copyright
defined COPYRIGHT_QUOTED

18 years agoupdated copyright
thib [Wed, 11 Jan 2006 00:49:33 +0000 (00:49 +0000)]
updated copyright
changed the policy about set(e)uid(): use the user rights when accessing his home directory (necessary if user/group fcron are not allowed to read the dir)

18 years agoupdated copyright
thib [Wed, 11 Jan 2006 00:47:15 +0000 (00:47 +0000)]
updated copyright

18 years agoupdated copyright
thib [Wed, 11 Jan 2006 00:40:52 +0000 (00:40 +0000)]
updated copyright
added functions read_write_pipe(), read_pipe() and write_pipe(): they handled the pipes in a clean way which should solve so problems on BSDs
clarified the code with the use of new internal functions

18 years agoupdated copyright
thib [Wed, 11 Jan 2006 00:40:16 +0000 (00:40 +0000)]
updated copyright

19 years agochanges to make the script cleaner and more secure ver3_0_0
thib [Fri, 9 Sep 2005 21:02:52 +0000 (21:02 +0000)]
changes to make the script cleaner and more secure

19 years ago*** empty log message ***
thib [Fri, 9 Sep 2005 21:02:46 +0000 (21:02 +0000)]
*** empty log message ***

19 years ago*** empty log message *** ver2_9_7
thib [Thu, 28 Jul 2005 11:14:57 +0000 (11:14 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
thib [Thu, 28 Jul 2005 11:07:48 +0000 (11:07 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
thib [Tue, 19 Jul 2005 13:08:20 +0000 (13:08 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
thib [Tue, 19 Jul 2005 10:40:07 +0000 (10:40 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
thib [Sat, 11 Jun 2005 23:02:07 +0000 (23:02 +0000)]
*** empty log message ***

19 years agobug fix : strdup2() returns NULL if its argument is NULL (instead of crashing !)
thib [Sat, 11 Jun 2005 22:54:12 +0000 (22:54 +0000)]
bug fix : strdup2() returns NULL if its argument is NULL (instead of crashing !)

19 years agobetter support for freebsd
thib [Sat, 11 Jun 2005 22:53:21 +0000 (22:53 +0000)]
better support for freebsd

19 years agoadded timezone support
thib [Sat, 11 Jun 2005 22:52:32 +0000 (22:52 +0000)]
added timezone support
added some casts (to avoid some warnings on HP-UX)

19 years agoadded timezone support
thib [Sat, 11 Jun 2005 22:50:02 +0000 (22:50 +0000)]
added timezone support

19 years ago*** empty log message ***
thib [Sat, 11 Jun 2005 22:49:41 +0000 (22:49 +0000)]
*** empty log message ***

19 years agofixed a bug which used to make fcron send empty mails on very recent systems
thib [Sat, 11 Jun 2005 22:43:52 +0000 (22:43 +0000)]
fixed a bug which used to make fcron send empty mails on very recent systems

19 years ago*** empty log message *** ver2_9_6
thib [Sat, 12 Mar 2005 13:59:40 +0000 (13:59 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
thib [Sat, 12 Mar 2005 12:41:29 +0000 (12:41 +0000)]
*** empty log message ***

19 years agoadded HAVE_* for setresgid, setresuid, signal and sigset
thib [Sat, 12 Mar 2005 12:40:01 +0000 (12:40 +0000)]
added HAVE_* for setresgid, setresuid, signal and sigset

19 years agobetter support of HP-UX : if seteuid() does not exist, use setresuid() instead
thib [Sat, 12 Mar 2005 12:39:46 +0000 (12:39 +0000)]
better support of HP-UX : if seteuid() does not exist, use setresuid() instead

19 years agobetter support of HP-UX : use sigset if signal doesn't exist
thib [Sat, 12 Mar 2005 12:39:21 +0000 (12:39 +0000)]
better support of HP-UX : use sigset if signal doesn't exist

19 years agobetter support of HP-UX : if seteuid() does not exist, use setresuid() instead
thib [Sat, 12 Mar 2005 12:38:02 +0000 (12:38 +0000)]
better support of HP-UX : if seteuid() does not exist, use setresuid() instead
better support of HP-UX : use sigset if signal doesn't exist

19 years agofixed bug : always restore umask, even if fcron run unprivileged
thib [Sat, 12 Mar 2005 12:37:30 +0000 (12:37 +0000)]
fixed bug : always restore umask, even if fcron run unprivileged

19 years agoupdated the supported OS list
thib [Sat, 26 Feb 2005 15:18:12 +0000 (15:18 +0000)]
updated the supported OS list

19 years agoupdated copyrightdate
thib [Sat, 26 Feb 2005 15:17:52 +0000 (15:17 +0000)]
updated copyrightdate

19 years agoInitial revision
thib [Sat, 26 Feb 2005 15:15:31 +0000 (15:15 +0000)]
Initial revision

19 years agobug fix : use tmp_str and not the static string ".tmp"
thib [Sat, 26 Feb 2005 15:15:10 +0000 (15:15 +0000)]
bug fix : use tmp_str and not the static string ".tmp"

19 years agofixed bugs concerning DST changes : created mktime_no_dme() and remove the DST change...
thib [Sat, 26 Feb 2005 15:13:00 +0000 (15:13 +0000)]
fixed bugs concerning DST changes : created mktime_no_dme() and remove the DST change adjustements mktime() does

19 years agoHP-UX support : use sigset() instead of signal() for HP-UX
thib [Sat, 26 Feb 2005 15:11:32 +0000 (15:11 +0000)]
HP-UX support : use sigset() instead of signal() for HP-UX

19 years ago*** empty log message ***
thib [Sat, 26 Feb 2005 15:11:24 +0000 (15:11 +0000)]
*** empty log message ***

19 years agomade fcrontab behave better when there is no space left in spool dir (used to truncat...
thib [Sat, 26 Feb 2005 15:10:11 +0000 (15:10 +0000)]
made fcrontab behave better when there is no space left in spool dir (used to truncate the fcrontab source)

19 years agobug fix : cmd_code is a long int (not a int)
thib [Sat, 26 Feb 2005 15:09:54 +0000 (15:09 +0000)]
bug fix : cmd_code is a long int (not a int)

19 years agominor bug fix : replaced a #elif without condition by a #else
thib [Sat, 26 Feb 2005 15:09:25 +0000 (15:09 +0000)]
minor bug fix : replaced a #elif without condition by a #else

19 years ago*** empty log message *** ver2_9_5_1
thib [Sun, 14 Nov 2004 16:33:04 +0000 (16:33 +0000)]
*** empty log message ***

19 years agomade clearer the message in configure:
thib [Sun, 14 Nov 2004 16:32:36 +0000 (16:32 +0000)]
made clearer the message in configure:

19 years agomerged patch from debian maintainer
thib [Sun, 14 Nov 2004 16:25:52 +0000 (16:25 +0000)]
merged patch from debian maintainer

19 years ago*** empty log message ***
thib [Sat, 13 Nov 2004 19:49:21 +0000 (19:49 +0000)]
*** empty log message ***

19 years agoupdated (fcron 2.9.5 works on Darwin/MaxOS-X)
thib [Sat, 13 Nov 2004 19:47:06 +0000 (19:47 +0000)]
updated (fcron 2.9.5 works on Darwin/MaxOS-X)

19 years agofixed a typo (fcron.pid -> fcron.fifo)
thib [Sat, 13 Nov 2004 19:46:06 +0000 (19:46 +0000)]
fixed a typo (fcron.pid -> fcron.fifo)

19 years agofixed serveral wrong command name (fcrontab instead of fcrondyn)
thib [Sat, 13 Nov 2004 19:45:31 +0000 (19:45 +0000)]
fixed serveral wrong command name (fcrontab instead of fcrondyn)

19 years agofixed a typo (wrong file name)
thib [Sat, 13 Nov 2004 19:44:31 +0000 (19:44 +0000)]
fixed a typo (wrong file name)

19 years agofix several security vulnerabilities found by iDEFENSE in fcronsighup
thib [Sat, 13 Nov 2004 19:44:01 +0000 (19:44 +0000)]
fix several security vulnerabilities found by iDEFENSE in fcronsighup
(close fcron.allow and fcron.deny files after use)

19 years agofix several security vulnerabilities found by iDEFENSE in fcronsighup
thib [Sat, 13 Nov 2004 19:43:21 +0000 (19:43 +0000)]
fix several security vulnerabilities found by iDEFENSE in fcronsighup
fix several security vulnerabilities found by iDEFENSE in fcronsighup

19 years ago*** empty log message ***
thib [Sat, 13 Nov 2004 19:42:39 +0000 (19:42 +0000)]
*** empty log message ***

19 years agofix several security vulnerabilities found by iDEFENSE in fcronsighup
thib [Sat, 13 Nov 2004 19:41:55 +0000 (19:41 +0000)]
fix several security vulnerabilities found by iDEFENSE in fcronsighup

20 years ago*** empty log message *** ver2_9_5
thib [Thu, 2 Sep 2004 22:15:21 +0000 (22:15 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
thib [Thu, 2 Sep 2004 22:08:04 +0000 (22:08 +0000)]
*** empty log message ***

20 years agochanged err_cmd_unknown_str, as all fcrondyn commands are implemented
thib [Thu, 2 Sep 2004 22:07:18 +0000 (22:07 +0000)]
changed err_cmd_unknown_str, as all fcrondyn commands are implemented

20 years ago*** empty log message ***
thib [Tue, 17 Aug 2004 12:58:11 +0000 (12:58 +0000)]
*** empty log message ***

20 years agoadded help for run and runnow
thib [Tue, 17 Aug 2004 12:58:03 +0000 (12:58 +0000)]
added help for run and runnow

20 years agoreplaced "not allowed" messages by "not found" so as to give as few information as...
thib [Tue, 17 Aug 2004 12:53:46 +0000 (12:53 +0000)]
replaced "not allowed" messages by "not found" so as to give as few information as possible to a cracker
changed cmd_on_exeq() so as it handles correctly the case where a job has several entries in exeq

20 years agochange the max size of log messages (MAX_MSG) to 175 chars
thib [Tue, 17 Aug 2004 12:53:14 +0000 (12:53 +0000)]
change the max size of log messages (MAX_MSG) to 175 chars

20 years ago*** empty log message ***
thib [Tue, 17 Aug 2004 12:52:45 +0000 (12:52 +0000)]
*** empty log message ***

20 years agosegmented code into more functions
thib [Tue, 17 Aug 2004 12:49:19 +0000 (12:49 +0000)]
segmented code into more functions
added code to write msg to a fd (for fcrondyn)
fixed a memory leak : always free() the string returned by make_msg

20 years ago*** empty log message ***
thib [Thu, 12 Aug 2004 09:52:15 +0000 (09:52 +0000)]
*** empty log message ***

20 years agoimplemented run and runnow
thib [Thu, 12 Aug 2004 09:50:36 +0000 (09:50 +0000)]
implemented run and runnow
Macro Send_err_msg_end does not include a return anymore (this was not easily readable)
bug fix: running ls_exeq when a job is running but have been removed from a fcrontab used to make fcron crash

20 years agoadd_lavg_job(), add_serial_job(), run_normal_job(), and set_next_exe() have a new...
thib [Thu, 12 Aug 2004 09:50:21 +0000 (09:50 +0000)]
add_lavg_job(), add_serial_job(), run_normal_job(), and set_next_exe() have a new argument : info_fd, the fd to use to send informative message to fcrondyn

20 years agoadd_lavg_job(), add_serial_job(), run_normal_job(), and set_next_exe() have a new...
thib [Thu, 12 Aug 2004 09:45:30 +0000 (09:45 +0000)]
add_lavg_job(), add_serial_job(), run_normal_job(), and set_next_exe() have a new argument : info_fd, the fd to use to send informative message to fcrondyn
in set_next_exe() : write nextexe date&time even for @ lines (instead of "run in xxx seconds")
modified set_next_exe() so as it can compute nextexe from current cl_nextexe, instead of now (for fcrondyn's runnow) (added option FROM_CUR_NEXTEXE)

20 years agoadd_lavg_job(), add_serial_job(), run_normal_job(), and set_next_exe() have a new...
thib [Thu, 12 Aug 2004 09:43:41 +0000 (09:43 +0000)]
add_lavg_job(), add_serial_job(), run_normal_job(), and set_next_exe() have a new argument : info_fd, the fd to use to send informative message to fcrondyn

20 years agoadded explain_fd(), warn_fd(), error_fd() to send message to syslog and to fcrondyn
thib [Thu, 12 Aug 2004 09:41:31 +0000 (09:41 +0000)]
added explain_fd(), warn_fd(), error_fd() to send message to syslog and to fcrondyn
added send_msg_fd_debug() to send message to syslog and to fcrondyn
added send_msg_fd() to send message to fcrondyn

20 years agodo not stop to read from pipe if the read has been interrupted with no particular...
thib [Thu, 12 Aug 2004 09:27:04 +0000 (09:27 +0000)]
do not stop to read from pipe if the read has been interrupted with no particular error

20 years agoupdate the entry about replacing vixie cron by fcron
thib [Sun, 11 Jul 2004 18:11:29 +0000 (18:11 +0000)]
update the entry about replacing vixie cron by fcron

20 years agosecurity : overwrite the pass string everytime
thib [Sun, 11 Jul 2004 18:11:00 +0000 (18:11 +0000)]
security : overwrite the pass string everytime

20 years agouse program env to handle cases where perl is not in /usr/bin
thib [Sun, 11 Jul 2004 18:10:06 +0000 (18:10 +0000)]
use program env to handle cases where perl is not in /usr/bin

20 years agobe more secure with str*() : add a \0
thib [Sun, 11 Jul 2004 18:09:41 +0000 (18:09 +0000)]
be more secure with str*() : add a \0

20 years ago*** empty log message ***
thib [Sun, 11 Jul 2004 18:09:31 +0000 (18:09 +0000)]
*** empty log message ***

20 years agobe more secure with strncat (add \0)
thib [Sun, 11 Jul 2004 18:08:08 +0000 (18:08 +0000)]
be more secure with strncat (add \0)

20 years agouse more strn*() instead of str*()
thib [Sun, 11 Jul 2004 18:05:23 +0000 (18:05 +0000)]
use more strn*() instead of str*()
fixed a bug : when reading child pid, having to call read() several times  normal, so we use a while()

20 years ago*** empty log message ***
thib [Thu, 29 Apr 2004 20:51:25 +0000 (20:51 +0000)]
*** empty log message ***

20 years agoreinstall the sig handlers in check_signal() instead of in the handlers themselves...
thib [Thu, 29 Apr 2004 20:50:47 +0000 (20:50 +0000)]
reinstall the sig handlers in check_signal() instead of in the handlers themselves, as it is not supported on HP-UX

20 years agomoved bootinstall after debug, as the former depends on the latter
thib [Thu, 29 Apr 2004 20:50:24 +0000 (20:50 +0000)]
moved bootinstall after debug, as the former depends on the latter

20 years agoupdated for new web site
thib [Thu, 29 Apr 2004 19:38:27 +0000 (19:38 +0000)]
updated for new web site

20 years ago*** empty log message ***
thib [Thu, 29 Apr 2004 19:38:19 +0000 (19:38 +0000)]
*** empty log message ***

20 years agoadded an entry about the compatibility between fcron and Vixie cron
thib [Thu, 29 Apr 2004 19:37:23 +0000 (19:37 +0000)]
added an entry about the compatibility between fcron and Vixie cron

20 years agoadded free_conf()
thib [Thu, 29 Apr 2004 19:36:38 +0000 (19:36 +0000)]
added free_conf()