aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/cron/lib/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Remove residual blank line at start of MakefileWarner Losh2024-07-151-1/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* usr.sbin: normalize paths using SRCTOP-relative paths or :H when possibleEnji Cooper2017-03-041-1/+1
| | | | | | | | | | This simplifies make logic/output MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314659
* use WARNS?= instead of WARNS=Matteo Riondato2008-11-181-1/+1
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=185042
* Make usr.sbin/cron/crontab and usr.sbin/cron/lib WARNS=3 cleanMatteo Riondato2008-11-101-0/+2
| | | | | | | | | Tested with: make universe MFC after: 3 days Notes: svn path=/head/; revision=184809
* Add PAM support to cron(8). Now cron(8) will skip commands scheduledYaroslav Tykhiy2007-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by unavailable accounts, e.g., those locked, expired, not allowed in at the moment by nologin(5), or whatever, depending on cron's pam.conf(5). This applies to personal crontabs only, /etc/crontab is unaffected. In other words, now the account management policy will apply to commands scheduled by users via crontab(1) so that a user can no longer use cron(8) to set up a delayed backdoor and run commands during periods when the admin doesn't want him to. The PAM check is done just before running a command, not when loading a crontab, because accounts can get locked, expired, and re-enabled any time with no changes to their crontabs. E.g., imagine that you provide a system with payed access, or better a cluster of such systems with centralized account management via PAM. When a user pays for some days of access, you set his expire field respectively. If the account expires before its owner pays more, its crontab commands won't run until the next payment is made. Then it'll be enough to set the expire field in future for the commands to run again. And so on. Document this change in the cron(8) manpage, which includes adding a FILES section and touching the document date. X-Security: should benefit as users have access to cron(8) by default Notes: svn path=/head/; revision=170890
* For variables that are only checked with defined(), don't provideRuslan Ermilov2004-10-241-1/+1
| | | | | | | any fake value. Notes: svn path=/head/; revision=136910
* Mark all internal libraries with INTERNALLIB.Ruslan Ermilov2002-05-131-5/+1
| | | | Notes: svn path=/head/; revision=96514
* Perform a major cleanup of the usr.sbin Makefiles.David E. O'Brien2001-07-201-4/+6
| | | | | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before. Notes: svn path=/head/; revision=80029
* Log run-time parsing errors nowAndrey A. Chernov1997-11-021-1/+2
| | | | | | | | | | | | | | | Use getpwnam before getpwuid since two users with same uids can exists (affects new login classes code only) The same fixes as in inetd: by default run `system crontab things' with daemon login class now, not restrict them to user class breaking compatibility with old way (so-called nobody limits problem) Implement user[:group][/login-class] syntax in system crontab for more flexible control (the same as in inetd) Notes: svn path=/head/; revision=30895
* NOSHARED takes a yes/YES no/NO value, not "true, false, hey mon!".Paul Traina1997-06-291-1/+1
| | | | | | | | | NOPIC is used to not generate a shared library, not NOSHARED. Make NOSHARED advisory where appropriate. Remove bogus NOSHARED (kbdio). Notes: svn path=/head/; revision=27040
* Prevent installation.Jordan K. Hubbard1994-08-281-0/+3
| | | | | | | Submitted by: jkh Notes: svn path=/head/; revision=2329
* Paul Vixie's cron, version 3.0. Munged into bmake format. If this goesJordan K. Hubbard1994-08-271-0/+8
well, expect our two seperate directories for cron and crontab to go away shortly. Submitted by: jkh Notes: svn path=/cvs2svn/branches/cron/; revision=2311