]> granicus.if.org Git - fcron/log
fcron
23 years agohandle the change of the uid of a user in /etc/passwd
thib [Fri, 12 Jan 2001 21:43:41 +0000 (21:43 +0000)]
handle the change of the uid of a user in /etc/passwd

23 years ago*** empty log message ***
thib [Fri, 12 Jan 2001 21:43:25 +0000 (21:43 +0000)]
*** empty log message ***

23 years agouse --mandir instead of --with-mandir
thib [Fri, 12 Jan 2001 21:42:57 +0000 (21:42 +0000)]
use --mandir instead of --with-mandir

23 years agosecurity fix : runas and mailto was set by default to uid, not asuid
thib [Fri, 12 Jan 2001 21:42:18 +0000 (21:42 +0000)]
security fix : runas and mailto was set by default to uid, not asuid

23 years agobug corrected : root's orig file was not chown to root correctly
thib [Fri, 12 Jan 2001 21:41:24 +0000 (21:41 +0000)]
bug corrected : root's orig file was not chown to root correctly

23 years agoremove --with-mandir (--mandir already exists)
thib [Fri, 12 Jan 2001 21:39:59 +0000 (21:39 +0000)]
remove --with-mandir (--mandir already exists)
minor bug fixed (an incorrect result output)

23 years ago*** empty log message ***
thib [Fri, 12 Jan 2001 21:37:52 +0000 (21:37 +0000)]
*** empty log message ***

23 years agoadded a "sleep 2" to let some time to fcron to stop before restarting it
thib [Fri, 12 Jan 2001 21:37:16 +0000 (21:37 +0000)]
added a "sleep 2" to let some time to fcron to stop before restarting it

23 years agobetter support of FreeBSD systems : use killall if pidof does not exist
thib [Sun, 7 Jan 2001 20:56:19 +0000 (20:56 +0000)]
better support of FreeBSD systems : use killall if pidof does not exist

23 years agofcron.deny and fcron.allow now owned by root (used to be fcron)
thib [Sun, 7 Jan 2001 12:46:56 +0000 (12:46 +0000)]
fcron.deny and fcron.allow now owned by root (used to be fcron)
added ./configure's option --with-answer-all

23 years agoadded ./configure's option --with-answer-all
thib [Sun, 7 Jan 2001 12:46:02 +0000 (12:46 +0000)]
added ./configure's option --with-answer-all
bug corrected : --with-rootgroup : check /etc/group, not /etc/passwd

23 years agoadded ./configure's option --with-answer-all
thib [Sun, 7 Jan 2001 12:44:58 +0000 (12:44 +0000)]
added ./configure's option --with-answer-all

23 years agowarning and error messages improved
thib [Thu, 4 Jan 2001 15:53:58 +0000 (15:53 +0000)]
warning and error messages improved

23 years agoadded close of fds at fcron startup
thib [Thu, 4 Jan 2001 15:53:04 +0000 (15:53 +0000)]
added close of fds at fcron startup
fcron does not print a start message anymore

23 years agoadded configure options --with-rootname and --with-rootgroup.
thib [Thu, 4 Jan 2001 15:52:38 +0000 (15:52 +0000)]
added configure options  --with-rootname and --with-rootgroup.

23 years agospelling mistakes corrected.
thib [Thu, 4 Jan 2001 15:51:40 +0000 (15:51 +0000)]
spelling mistakes corrected.
orig file for root is now owned by root.

23 years agoadded configure option --with-rootname and --with-rootgroup
thib [Thu, 4 Jan 2001 15:51:19 +0000 (15:51 +0000)]
added configure option --with-rootname and --with-rootgroup

23 years agobetter handle of the abscence of both useradd and addus
thib [Thu, 4 Jan 2001 15:50:41 +0000 (15:50 +0000)]
better handle of the abscence of both useradd and addus

23 years agoadded configure option --with-rootname
thib [Thu, 4 Jan 2001 15:50:15 +0000 (15:50 +0000)]
added configure option --with-rootname

23 years agoremoved some '' to make the log more readable
thib [Sat, 30 Dec 2000 13:00:46 +0000 (13:00 +0000)]
removed some '' to make the log more readable

23 years agoremoved some '' to make the log more readable
thib [Sat, 30 Dec 2000 12:54:19 +0000 (12:54 +0000)]
removed some '' to make the log more readable

23 years agolog a warning message if runas field has been corrected
thib [Sat, 23 Dec 2000 20:17:17 +0000 (20:17 +0000)]
log a warning message if runas field has been corrected

23 years agominor bug corrected : the options for %-line used to be output
thib [Sat, 23 Dec 2000 20:16:10 +0000 (20:16 +0000)]
minor bug corrected : the options for %-line used to be output
even without debug option

23 years agonow makes fcron update its conf immediately for root
thib [Sat, 23 Dec 2000 20:12:05 +0000 (20:12 +0000)]
now makes fcron update its conf immediately for root
bug corrected : better handle of zero-length external var (VISUAL and EDITOR)

23 years agoseteuid() or setuid() before chdir() (more secure)
thib [Wed, 20 Dec 2000 14:11:26 +0000 (14:11 +0000)]
seteuid() or setuid() before chdir() (more secure)
determine user's identity by his uid, not the var USER
(in order to act as crontab).

23 years agobug corrected : editing a file with option -u used to fail
thib [Sat, 16 Dec 2000 19:01:38 +0000 (19:01 +0000)]
bug corrected : editing a file with option -u used to fail

23 years agocheck for error code with function remove()
thib [Fri, 15 Dec 2000 17:51:49 +0000 (17:51 +0000)]
check for error code with function remove()

23 years agominor bug corrected : an error message was incomplete
thib [Fri, 15 Dec 2000 17:51:06 +0000 (17:51 +0000)]
minor bug corrected : an error message was incomplete

23 years agobug corrected : better handle of system without setreuid()
thib [Fri, 15 Dec 2000 17:50:00 +0000 (17:50 +0000)]
bug corrected : better handle of system without setreuid()

23 years agobetter handle of system without setreuid() etregid() functions
thib [Fri, 15 Dec 2000 17:49:14 +0000 (17:49 +0000)]
better handle of system without setreuid() etregid() functions

23 years agobug corrected : a fcron.allow or an fcron.deny file absent was
thib [Fri, 15 Dec 2000 17:48:24 +0000 (17:48 +0000)]
bug corrected : a fcron.allow or an fcron.deny file absent was
not handled correctly.

23 years agomore explanation about why the fcrontabs should be reinstalled
thib [Fri, 15 Dec 2000 17:47:48 +0000 (17:47 +0000)]
more explanation about why the fcrontabs should be reinstalled

23 years agoadded checks : only root can use runas
thib [Thu, 14 Dec 2000 21:21:46 +0000 (21:21 +0000)]
added checks : only root can use runas

23 years agoFCRONTABS permissions have changed (now readable by GROUPNAME)
thib [Thu, 14 Dec 2000 21:19:17 +0000 (21:19 +0000)]
FCRONTABS permissions have changed (now readable by GROUPNAME)

23 years agosecurity improvement : run as user as long as possible
thib [Thu, 14 Dec 2000 21:17:07 +0000 (21:17 +0000)]
security improvement : run as user as long as possible

23 years agoadded setsid()
thib [Thu, 14 Dec 2000 18:09:43 +0000 (18:09 +0000)]
added setsid()

23 years agobug corrected : a "%dow"-line used to be not handled correctly.
thib [Sun, 10 Dec 2000 20:29:25 +0000 (20:29 +0000)]
bug corrected : a "%dow"-line used to be not handled correctly.

23 years agoadded install-restart set of command.
thib [Sun, 10 Dec 2000 20:28:44 +0000 (20:28 +0000)]
added install-restart set of command.

23 years agouser need to put only the time fields inferior to the period
thib [Sun, 10 Dec 2000 20:26:40 +0000 (20:26 +0000)]
user need to put only the time fields inferior to the period
he uses in periodical lines (%-lines).

23 years agoadded support of %-lines
thib [Sun, 10 Dec 2000 10:58:33 +0000 (10:58 +0000)]
added support of %-lines

23 years ago*** empty log message ***
thib [Fri, 8 Dec 2000 12:52:46 +0000 (12:52 +0000)]
*** empty log message ***

23 years agobug corrected : while asking user if he wants to correct
thib [Fri, 8 Dec 2000 12:51:32 +0000 (12:51 +0000)]
bug corrected : while asking user if he wants to correct
the file or not, the message was printed too many times

23 years agocheck for sysV before rc.local file
thib [Fri, 8 Dec 2000 12:50:24 +0000 (12:50 +0000)]
check for sysV before rc.local file

23 years agoadded ign_* options
thib [Mon, 4 Dec 2000 20:19:12 +0000 (20:19 +0000)]
added ign_* options
added lavg_once option
bug corrected about serial_once option

23 years agoadded gethostname
thib [Mon, 4 Dec 2000 20:18:58 +0000 (20:18 +0000)]
added gethostname

23 years agoadded hostname to the addresses of mail sent
thib [Mon, 4 Dec 2000 20:18:27 +0000 (20:18 +0000)]
added hostname to the addresses of mail sent

23 years agocl_options is now defined as a string (should not change
thib [Mon, 4 Dec 2000 20:17:48 +0000 (20:17 +0000)]
cl_options is now defined as a string (should not change
between various systems in term of size)

23 years agoadded install-boot
thib [Mon, 4 Dec 2000 20:17:34 +0000 (20:17 +0000)]
added install-boot

23 years agoadded ign_* options
thib [Mon, 4 Dec 2000 20:16:50 +0000 (20:16 +0000)]
added ign_* options

23 years agosome tmp files used not to be removed on errors
thib [Mon, 4 Dec 2000 20:16:24 +0000 (20:16 +0000)]
some tmp files used not to be removed on errors

23 years agoadded gethostname()
thib [Mon, 4 Dec 2000 20:13:35 +0000 (20:13 +0000)]
added gethostname()

23 years agobug fixes
thib [Mon, 4 Dec 2000 20:13:14 +0000 (20:13 +0000)]
bug fixes

23 years agoadded test for existence of user and group
thib [Sat, 18 Nov 2000 14:52:47 +0000 (14:52 +0000)]
added test for existence of user and group

23 years agodefault user and group are now fcron
thib [Sat, 18 Nov 2000 14:52:06 +0000 (14:52 +0000)]
default user and group are now fcron

23 years agoInitial revision
thib [Sat, 18 Nov 2000 14:51:47 +0000 (14:51 +0000)]
Initial revision

23 years agoupdated
thib [Sat, 18 Nov 2000 14:51:29 +0000 (14:51 +0000)]
updated

23 years agomore explanation about what is done
thib [Sat, 18 Nov 2000 14:50:03 +0000 (14:50 +0000)]
more explanation about what is done
test for the use of killall or killall5

23 years agoremoved unused declaration of daemon_uid
thib [Thu, 16 Nov 2000 17:58:50 +0000 (17:58 +0000)]
removed unused declaration of daemon_uid

23 years agobug corrected : changed daemon_uid's type from int to uid_t
thib [Thu, 16 Nov 2000 17:57:11 +0000 (17:57 +0000)]
bug corrected : changed daemon_uid's type from int to uid_t

23 years agominor bug corrected : $ROOTDIR has changed to $ROOTDIR/init.d
thib [Thu, 16 Nov 2000 17:56:28 +0000 (17:56 +0000)]
minor bug corrected : $ROOTDIR has changed to $ROOTDIR/init.d

23 years agothe fcrontabs are now reinstalled in script/sysVinit-install
thib [Tue, 14 Nov 2000 21:39:07 +0000 (21:39 +0000)]
the fcrontabs are now reinstalled in script/sysVinit-install

23 years agothis script is now interactive
thib [Tue, 14 Nov 2000 21:38:49 +0000 (21:38 +0000)]
this script is now interactive

23 years ago*** empty log message ***
thib [Tue, 14 Nov 2000 19:46:38 +0000 (19:46 +0000)]
*** empty log message ***

23 years agomanages better USERNAME/GROUPNAME
thib [Tue, 14 Nov 2000 19:46:23 +0000 (19:46 +0000)]
manages better USERNAME/GROUPNAME

23 years agomanages better USERNAME/GROUPNAME
thib [Tue, 14 Nov 2000 19:44:49 +0000 (19:44 +0000)]
manages better USERNAME/GROUPNAME
some errors used to make fcrontab let a temp file

23 years agocode clearer in goto_non_matching
thib [Mon, 13 Nov 2000 15:48:23 +0000 (15:48 +0000)]
code clearer in goto_non_matching

23 years agocheck for empty shell command
thib [Mon, 13 Nov 2000 15:47:50 +0000 (15:47 +0000)]
check for empty shell command

23 years agorun as a non privileged user
thib [Mon, 13 Nov 2000 15:46:28 +0000 (15:46 +0000)]
run as a non privileged user
mailto(name) sets mail to 1
bug corrected : field "22-5" is correctly supported

23 years agorun as a non privileged user
thib [Mon, 13 Nov 2000 15:45:56 +0000 (15:45 +0000)]
run as a non privileged user

23 years agoadded USERNAME, GROUPNAME, HAVE_MKSTEMP, HAVE_SETREGID, HAVE_SETREUIDD.
thib [Fri, 10 Nov 2000 17:38:21 +0000 (17:38 +0000)]
added USERNAME, GROUPNAME, HAVE_MKSTEMP, HAVE_SETREGID, HAVE_SETREUIDD.

23 years agofcron now runs under USERNAME's real uid
thib [Fri, 10 Nov 2000 17:37:29 +0000 (17:37 +0000)]
fcron now runs under USERNAME's real uid
use of mkstemp() instead of tempnam() (when possible)

23 years agofcron now runs under USERNAME's real uid
thib [Fri, 10 Nov 2000 17:35:40 +0000 (17:35 +0000)]
fcron now runs under USERNAME's real uid

23 years ago*** empty log message ***
thib [Fri, 10 Nov 2000 17:35:32 +0000 (17:35 +0000)]
*** empty log message ***

23 years agobug corrected : every user can now use fcrontab even if installed
thib [Fri, 10 Nov 2000 17:34:02 +0000 (17:34 +0000)]
bug corrected : every user can now use fcrontab even if installed
under the non privileged users rights

23 years agocheck for functions setreuid() and setregid() + mkstemp()
thib [Fri, 10 Nov 2000 17:33:13 +0000 (17:33 +0000)]
check for functions setreuid() and setregid() + mkstemp()

23 years agosome debug log message deleted and changed
thib [Fri, 3 Nov 2000 13:23:20 +0000 (13:23 +0000)]
some debug log message deleted and changed

23 years agochange version from 1.0.0 to 0.9.3 (fcron may need more debugging)
thib [Fri, 3 Nov 2000 13:22:43 +0000 (13:22 +0000)]
change version from 1.0.0 to 0.9.3 (fcron may need more debugging)

23 years agominor bug corrected (used to print an error about fcron stop)
thib [Fri, 3 Nov 2000 13:22:00 +0000 (13:22 +0000)]
minor bug corrected (used to print an error about fcron stop)
debug is the default mode

23 years agobug corrected for Redhats systems (added the -b option)
thib [Thu, 2 Nov 2000 20:54:01 +0000 (20:54 +0000)]
bug corrected for Redhats systems (added the -b option)

23 years agoadded code too avoid infinite loops in set_next_exe() and goto_non_matching()
thib [Thu, 2 Nov 2000 19:15:03 +0000 (19:15 +0000)]
added code too avoid infinite loops in set_next_exe() and goto_non_matching()

23 years agoadded MAXYEAR_SCHEDULE_TIME too avoid infinite loops in set_next_exe()
thib [Thu, 2 Nov 2000 19:13:59 +0000 (19:13 +0000)]
added MAXYEAR_SCHEDULE_TIME too avoid infinite loops in set_next_exe()
and goto_non_matching()

23 years agoremoved the check for invalid lines
thib [Thu, 2 Nov 2000 19:13:13 +0000 (19:13 +0000)]
removed the check for invalid lines
(it's now done in set_next_exe() and goto_non_matching())

23 years agoadded code to reinstall the fcrontabs with "fcrontab -z -u user"
thib [Thu, 2 Nov 2000 19:12:27 +0000 (19:12 +0000)]
added code to reinstall the fcrontabs with "fcrontab -z -u user"
when doing a "make install"

23 years agoadded option --with-cflags
thib [Thu, 2 Nov 2000 19:11:01 +0000 (19:11 +0000)]
added option --with-cflags
added code to recompile fcron if we switch from debug mode to non debug mode
or the contrary

23 years agosupport of Debian systems
thib [Thu, 2 Nov 2000 19:10:34 +0000 (19:10 +0000)]
support of Debian systems

23 years agoscript more flexible
thib [Thu, 2 Nov 2000 19:08:59 +0000 (19:08 +0000)]
script more flexible
does not use sysVinit-launcher-debug any more, but modifies sysVinit-launcher
if debug mode is set
restart fcron when installation is done

23 years agobug corrected in goto_non_matching()
thib [Thu, 2 Nov 2000 10:58:03 +0000 (10:58 +0000)]
bug corrected in goto_non_matching()

23 years agobug corrected in check for intervals with runfreq(1)
thib [Thu, 2 Nov 2000 10:57:43 +0000 (10:57 +0000)]
bug corrected in check for intervals with runfreq(1)

24 years agobug corrected : checks for no bit sets in bits array used to check
thib [Thu, 26 Oct 2000 14:29:59 +0000 (14:29 +0000)]
bug corrected : checks for no bit sets in bits array used to check
only the cl_mins field

24 years agobug corrected : --with-docdir and --with-mandir
thib [Mon, 16 Oct 2000 17:32:44 +0000 (17:32 +0000)]
bug corrected : --with-docdir and --with-mandir

24 years ago*** empty log message ***
thib [Tue, 10 Oct 2000 19:07:01 +0000 (19:07 +0000)]
*** empty log message ***

24 years agocorrected a bug
thib [Tue, 10 Oct 2000 19:00:37 +0000 (19:00 +0000)]
corrected a bug

24 years agosome changes about running under a specific user/group
thib [Sun, 8 Oct 2000 11:49:04 +0000 (11:49 +0000)]
some changes about running under a specific user/group

24 years agocorrection about running under a specific user/group
thib [Sun, 8 Oct 2000 10:23:09 +0000 (10:23 +0000)]
correction about running under a specific user/group

24 years agocheck for invalid timefreq
thib [Sun, 8 Oct 2000 10:10:17 +0000 (10:10 +0000)]
check for invalid timefreq

24 years agoremoved the \n of the message "fcron started"
thib [Sun, 8 Oct 2000 10:09:50 +0000 (10:09 +0000)]
removed the \n of the message "fcron started"

24 years agouse a specific username and groupname to run under
thib [Sun, 8 Oct 2000 10:09:10 +0000 (10:09 +0000)]
use a specific username and groupname to run under

24 years agoadded a { and } to suppress a warning at compilation
thib [Sat, 7 Oct 2000 14:15:13 +0000 (14:15 +0000)]
added a { and } to suppress a warning at compilation

24 years agobug corrected in delete_file (lavg lines)
thib [Sat, 7 Oct 2000 14:14:21 +0000 (14:14 +0000)]
bug corrected in delete_file (lavg lines)
now check lines based on time and date for non set fields

24 years agocorrected the wrong behavior of reset when set to a single line
thib [Sat, 7 Oct 2000 14:13:44 +0000 (14:13 +0000)]
corrected the wrong behavior of reset when set to a single line