]> granicus.if.org Git - fcron/log
fcron
23 years agowe now use ROOTUID and ROOTGID instead of hard-coded "0"
thib [Sun, 23 Dec 2001 22:03:08 +0000 (22:03 +0000)]
we now use ROOTUID and ROOTGID instead of hard-coded "0"

23 years agobug corrected : on AIX, there were a problem about casts with getc() and EOF which...
thib [Sun, 23 Dec 2001 12:20:46 +0000 (12:20 +0000)]
bug corrected : on AIX, there were a problem about casts with getc() and EOF which were conducting in a infinite loop.

23 years agobug corrected : shell var were incorrectly set on Solaris
thib [Sun, 23 Dec 2001 12:20:10 +0000 (12:20 +0000)]
bug corrected : shell var were incorrectly set on Solaris

23 years agoadd a blank line before the fcron and fcrontab PAM conf in pam.conf for better lisibi...
thib [Sun, 4 Nov 2001 19:00:52 +0000 (19:00 +0000)]
add a blank line before the fcron and fcrontab PAM conf in pam.conf for better lisibility.

23 years agoadded #include "job.c" to avoir a warning
thib [Sun, 4 Nov 2001 18:59:50 +0000 (18:59 +0000)]
added #include "job.c" to avoir a warning

23 years agowe now use man2html : better output than groff (which is crashing anyway on my system...
thib [Sun, 4 Nov 2001 18:59:06 +0000 (18:59 +0000)]
we now use man2html : better output than groff (which is crashing anyway on my system :(( )

23 years agoadded gcc cmd line option -Wall to debug mode
thib [Sun, 4 Nov 2001 18:58:42 +0000 (18:58 +0000)]
added gcc cmd line option -Wall to debug mode

23 years agoremoved unused var a_pam_user
thib [Sun, 4 Nov 2001 18:58:17 +0000 (18:58 +0000)]
removed unused var a_pam_user
corrected -h message (-c option)

23 years agoremoved unused var a_pam_user
thib [Sun, 4 Nov 2001 18:57:58 +0000 (18:57 +0000)]
removed unused var a_pam_user

23 years agoless restrictive as some system (FreeBSD, etc) don't support all the modules Linux...
thib [Sun, 4 Nov 2001 18:56:22 +0000 (18:56 +0000)]
less restrictive as some system (FreeBSD, etc) don't support all the modules Linux supports.

23 years ago*** empty log message ***
thib [Fri, 2 Nov 2001 14:27:33 +0000 (14:27 +0000)]
*** empty log message ***

23 years agobetter management of pam conf files installation
thib [Fri, 2 Nov 2001 13:39:32 +0000 (13:39 +0000)]
better management of pam conf files installation

23 years agochanges the func to check if lib pam is installed from pam_start to pam_acct_mgmt...
thib [Fri, 2 Nov 2001 13:38:51 +0000 (13:38 +0000)]
changes the func to check if lib pam is installed from pam_start to pam_acct_mgmt (seems to work better on Debian)

23 years agoadded a pam conv function
thib [Fri, 2 Nov 2001 13:38:15 +0000 (13:38 +0000)]
added a pam conv function

23 years ago*** empty log message ***
thib [Fri, 2 Nov 2001 13:37:58 +0000 (13:37 +0000)]
*** empty log message ***

23 years agoInitial revision
thib [Fri, 2 Nov 2001 13:37:47 +0000 (13:37 +0000)]
Initial revision

23 years agoadded fcron.pam installation
thib [Mon, 29 Oct 2001 13:23:33 +0000 (13:23 +0000)]
added fcron.pam installation

23 years agobug fixed : setting lavg to (0,0,0) clear lavg flag
thib [Mon, 29 Oct 2001 13:22:10 +0000 (13:22 +0000)]
bug fixed : setting lavg to (0,0,0) clear lavg flag

23 years agobetter support of "use / do not use pam"
thib [Mon, 29 Oct 2001 13:21:52 +0000 (13:21 +0000)]
better support of "use / do not use pam"

23 years ago*** empty log message ***
thib [Mon, 29 Oct 2001 13:21:29 +0000 (13:21 +0000)]
*** empty log message ***

23 years agoadded error_pame
thib [Mon, 29 Oct 2001 13:21:02 +0000 (13:21 +0000)]
added error_pame

23 years agomail user if he is not correctly authorized by pam
thib [Mon, 29 Oct 2001 13:20:13 +0000 (13:20 +0000)]
mail user if he is not correctly authorized by pam

23 years agoInitial revision
thib [Mon, 29 Oct 2001 13:20:01 +0000 (13:20 +0000)]
Initial revision

23 years agoported to AIX
thib [Wed, 12 Sep 2001 13:50:38 +0000 (13:50 +0000)]
ported to AIX

23 years agocode cleaning
thib [Wed, 12 Sep 2001 13:49:02 +0000 (13:49 +0000)]
code cleaning
code cleaning
send a mail if noticenotrun and queue full

23 years agocode cleaning
thib [Wed, 12 Sep 2001 13:48:07 +0000 (13:48 +0000)]
code cleaning
send a mail if noticenotrun and queue full

23 years agoadded PAM support
thib [Wed, 12 Sep 2001 13:45:25 +0000 (13:45 +0000)]
added PAM support

23 years agoported to AIX
thib [Wed, 12 Sep 2001 13:45:12 +0000 (13:45 +0000)]
ported to AIX

23 years agocode cleaning
thib [Wed, 12 Sep 2001 13:44:58 +0000 (13:44 +0000)]
code cleaning

23 years agoadded PAM support
thib [Wed, 12 Sep 2001 13:42:58 +0000 (13:42 +0000)]
added PAM support

23 years agocode cleaning
thib [Wed, 12 Sep 2001 13:38:45 +0000 (13:38 +0000)]
code cleaning

23 years agoPAM support
thib [Wed, 12 Sep 2001 13:38:05 +0000 (13:38 +0000)]
PAM support
ported to AIX

23 years agoInitial revision
thib [Wed, 12 Sep 2001 13:37:40 +0000 (13:37 +0000)]
Initial revision

23 years ago*** empty log message ***
thib [Wed, 12 Sep 2001 13:36:48 +0000 (13:36 +0000)]
*** empty log message ***

23 years agoadded pam support
thib [Wed, 12 Sep 2001 13:35:09 +0000 (13:35 +0000)]
added pam support

23 years agoupdated version
thib [Tue, 21 Aug 2001 18:45:43 +0000 (18:45 +0000)]
updated version

23 years ago*** empty log message ***
thib [Mon, 20 Aug 2001 20:03:20 +0000 (20:03 +0000)]
*** empty log message ***

23 years agowe now use USE_SETE_ID to determine if we should use sete?id() funcs
thib [Mon, 20 Aug 2001 20:01:43 +0000 (20:01 +0000)]
we now use USE_SETE_ID to determine if we should use sete?id() funcs

23 years agobug corrected : used not to check correctly if the user was in the correct group
thib [Mon, 20 Aug 2001 11:01:35 +0000 (11:01 +0000)]
bug corrected : used not to check correctly if the user was in the correct group

23 years agocode cleaning
thib [Mon, 20 Aug 2001 11:01:25 +0000 (11:01 +0000)]
code cleaning

23 years agoon serial/lavg queue overflow, do not accept more jobs and print a message in syslog...
thib [Mon, 20 Aug 2001 11:00:01 +0000 (11:00 +0000)]
on serial/lavg queue overflow, do not accept more jobs and print a message in syslog (instead of running one to leave room to another).

23 years agobug fixed : inserting jobs in serial queue was broken.
thib [Mon, 20 Aug 2001 10:58:13 +0000 (10:58 +0000)]
bug fixed : inserting jobs in serial queue was broken.

23 years ago*** empty log message ***
thib [Mon, 20 Aug 2001 10:54:45 +0000 (10:54 +0000)]
*** empty log message ***

23 years agoprint the exact pid on syslog (not the pid of fcron process attached to the job)
thib [Mon, 20 Aug 2001 10:53:22 +0000 (10:53 +0000)]
print the exact pid on syslog (not the pid of fcron process attached to the job)
mail if job exit anormally, even if there is no output (unless mail(no))

23 years agoadded a #ifdef SENDMAIL to be able to run without sendmail
thib [Fri, 17 Aug 2001 19:50:08 +0000 (19:50 +0000)]
added a #ifdef SENDMAIL to be able to run without sendmail

23 years agoadded quotes in "test"s
thib [Fri, 17 Aug 2001 19:49:38 +0000 (19:49 +0000)]
added quotes in "test"s

23 years agobug corrected : specify explicitly the directory where fcron is in sysVinit-launcher
thib [Fri, 17 Aug 2001 19:48:41 +0000 (19:48 +0000)]
bug corrected : specify explicitly the directory where fcron is in sysVinit-launcher

23 years agobug corrected : we check for the existence of getopt_long(), not only getopt.h,as...
thib [Fri, 17 Aug 2001 19:48:18 +0000 (19:48 +0000)]
bug corrected : we check for the existence of getopt_long(), not only getopt.h,as some systems may define getopt() in getopt.h but not getopt_long()

23 years agobug fixed : endless loop for midmonthly line executed after the 15th of the month
thib [Fri, 17 Aug 2001 19:47:46 +0000 (19:47 +0000)]
bug fixed : endless loop for midmonthly line executed after the 15th of the month

23 years agocreated a new function add_line_to_file() to make read_file() more readable.
thib [Fri, 17 Aug 2001 19:44:51 +0000 (19:44 +0000)]
created a new function add_line_to_file() to make read_file() more readable.

23 years agomemory optimization : struct CL ordered to limit offsets
thib [Fri, 17 Aug 2001 19:43:53 +0000 (19:43 +0000)]
memory optimization : struct CL ordered to limit offsets

23 years agobug corrected : we check for the existence of getopt_long(), not only getopt.h,as...
thib [Fri, 17 Aug 2001 19:42:14 +0000 (19:42 +0000)]
bug corrected : we check for the existence of getopt_long(), not only getopt.h,as some systems may define getopt() in getopt.h but not getopt_long()
added handle for SIGUSR2 : print current schedule, and switch on/off debug mode

23 years agobug corrected : we check for the existence of getopt_long(), not only getopt.h,as...
thib [Fri, 17 Aug 2001 19:41:20 +0000 (19:41 +0000)]
bug corrected : we check for the existence of getopt_long(), not only getopt.h,as some systems may define getopt() in getopt.h but not getopt_long()

23 years agoupdated error message (we use euids, not uids)
thib [Fri, 17 Aug 2001 19:40:46 +0000 (19:40 +0000)]
updated error message (we use euids, not uids)

23 years ago*** empty log message ***
thib [Tue, 10 Jul 2001 14:50:18 +0000 (14:50 +0000)]
*** empty log message ***

23 years agoadded support for "stop"
thib [Tue, 10 Jul 2001 14:50:09 +0000 (14:50 +0000)]
added support for "stop"

23 years agobug corrected : user instead of filename
thib [Tue, 10 Jul 2001 14:49:52 +0000 (14:49 +0000)]
bug corrected : user instead of filename

23 years agobug (??) fixed in read_file() (for freebsd)
thib [Tue, 10 Jul 2001 14:22:15 +0000 (14:22 +0000)]
bug (??) fixed in read_file() (for freebsd)

23 years agoremoved debug code
thib [Tue, 10 Jul 2001 12:03:38 +0000 (12:03 +0000)]
removed debug code

23 years agoadded /usr/ucb to PATH (Solaris compatibility mode)
thib [Tue, 10 Jul 2001 10:54:23 +0000 (10:54 +0000)]
added /usr/ucb to PATH (Solaris compatibility mode)
use script/has_usrgrp.pl

23 years agoInitial revision
thib [Tue, 10 Jul 2001 10:52:59 +0000 (10:52 +0000)]
Initial revision

23 years agoadded /usr/ucb to PATH (Solaris compatibility mode)
thib [Tue, 10 Jul 2001 10:52:27 +0000 (10:52 +0000)]
added /usr/ucb to PATH (Solaris compatibility mode)

23 years agoremoved warnings (openbsd) adding some "(long int)", etc
thib [Mon, 9 Jul 2001 21:07:28 +0000 (21:07 +0000)]
removed warnings (openbsd) adding some "(long int)", etc

23 years agoadded support for nsswitch.conf in installation scripts
thib [Mon, 9 Jul 2001 13:07:58 +0000 (13:07 +0000)]
added support for nsswitch.conf in installation scripts

23 years agoremoved access() call (not necessary)
thib [Mon, 9 Jul 2001 11:50:30 +0000 (11:50 +0000)]
removed access() call (not necessary)
use Skip_blanks macro

23 years agocommented out some debug stuff
thib [Mon, 9 Jul 2001 11:50:13 +0000 (11:50 +0000)]
commented out some debug stuff

23 years ago*** empty log message ***
thib [Mon, 9 Jul 2001 11:49:11 +0000 (11:49 +0000)]
*** empty log message ***

23 years agoget rid of the setre*()
thib [Sun, 8 Jul 2001 12:40:43 +0000 (12:40 +0000)]
get rid of the setre*()

23 years agoremoved setreuid (no more needed thanks to fcronsighup)
thib [Sat, 7 Jul 2001 17:52:02 +0000 (17:52 +0000)]
removed setreuid (no more needed thanks to fcronsighup)

23 years ago*** empty log message ***
thib [Sat, 7 Jul 2001 17:44:57 +0000 (17:44 +0000)]
*** empty log message ***

23 years agoupdated make uninstall
thib [Sat, 7 Jul 2001 17:44:45 +0000 (17:44 +0000)]
updated make uninstall

23 years agochanged version message
thib [Sat, 7 Jul 2001 17:33:19 +0000 (17:33 +0000)]
changed version message

23 years agoadded [S]BINDIREX
thib [Sat, 7 Jul 2001 17:33:03 +0000 (17:33 +0000)]
added [S]BINDIREX

23 years agoadded constants BINDIREX and SBINDIREX (needed by fcronsighup)
thib [Sat, 7 Jul 2001 17:30:58 +0000 (17:30 +0000)]
added constants BINDIREX and SBINDIREX (needed by fcronsighup)

23 years agoadded fcronsighup
thib [Sat, 7 Jul 2001 17:30:32 +0000 (17:30 +0000)]
added fcronsighup

23 years agoInitial revision
thib [Sat, 7 Jul 2001 17:29:51 +0000 (17:29 +0000)]
Initial revision

23 years agobug corrected : in create_spooldir : detect if file exist and is not a dir
thib [Wed, 4 Jul 2001 17:45:39 +0000 (17:45 +0000)]
bug corrected : in create_spooldir : detect if file exist and is not a dir
cleaner exit on error in create_spooldir

23 years agoadded option -n
thib [Wed, 4 Jul 2001 17:29:48 +0000 (17:29 +0000)]
added option -n
updated help message : options -n and -c

23 years agoupdated help message : option -c
thib [Wed, 4 Jul 2001 17:29:30 +0000 (17:29 +0000)]
updated help message : option -c

23 years ago\eOA
thib [Wed, 4 Jul 2001 16:16:15 +0000 (16:16 +0000)]
\eOA
we now use Set() macro

23 years agowe now use Set() macro
thib [Wed, 4 Jul 2001 16:15:36 +0000 (16:15 +0000)]
we now use Set() macro

23 years agochanged order of the options of fcron.conf
thib [Sun, 24 Jun 2001 13:23:40 +0000 (13:23 +0000)]
changed order of the options of fcron.conf

23 years agoadded fcron.conf
thib [Sun, 24 Jun 2001 13:23:35 +0000 (13:23 +0000)]
added fcron.conf

23 years agochanged order of the assignement
thib [Sun, 24 Jun 2001 13:23:08 +0000 (13:23 +0000)]
changed order of the assignement

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.