summaryrefslogtreecommitdiffstats
path: root/etc/daily
Commit message (Collapse)AuthorAgeFilesLines
* Security fix. Strip the encrypted passwords out of the "master.passwd"jdp1997-02-081-1/+2
| | | | | | | | | | | diff output, and replace them with "(password)". The diffs get mailed to root, which in many cases is forwarded across the Internet. A patient sniffer could acquire the entire "master.passwd" file by saving all the diffs. With this fix, you still see that the password changed, but you don't see the details. Unless somebody talks me out of it, I am going to merge this into -2.2 in 48 hours.
* If /etc/daily.local is present, run it just before the security check.alex1996-10-191-0/+5
| | | | | | Closes PR#1822. Submitted by: John-Mark Gurney <jmg@nike.efn.org> (w/some changes)
* disable `calendar -a'. it's a bad idea, particularwosch1996-08-071-3/+10
| | | | | | | with networked home directories submitted by: "Boyd R. Faulkner" <faulkner@asgard.bga.com> and GAWollman (long time ago)
* Add a few hints about the cleaning policy of /tmp, including an examplejoerg1996-06-221-0/+24
| | | | (commented out) for how to purge it regularly.
* Eliminate warning message and add big warnings about security holespst1996-05-221-3/+4
|
* Don't try running ruptime if /var/rwho doesn't exist.nate1996-03-051-1/+3
|
* Restore broken accounting statistics:ache1996-01-061-0/+14
| | | | | 1) It have nothing common to (new)syslog messages 2) acct.* rotating allowed only after "sa -s" run!
* changed /etc/[daily,weekly,monthly] to not rotate the logfiles bygraichen1996-01-051-30/+0
| | | | | | | "hand", changed /etc/crontab to call /usr/sbin/newsyslog every hour (the entry was there before - but we haven't had any newsyslog until today :-) and changed /etc/inetd.conf to also contain (commentet out) entries for rpc.rquotad and rpc.sprayd (taken from NetBSD)
* If no passwd.bak/group.bak/aliases.bak exists, put warning and make them,ache1995-09-151-0/+16
| | | | | commands failed in old case Produce diffs on group and aliases too
* Use proper PATH in front of monthlyache1995-05-271-2/+2
| | | | Eliminate Subject duplication for insecure output
* Removed daily rm'ing of files in /tmp, /var/tmp, and /scratch. There is nodg1995-01-051-27/+0
| | | | | | | | safe way to do this, and envites very unpleasant results. Removed fsck'ing of all the disks on the system as it provides output that is almost always meaningless and only envites bug reports. Reviewed by: Jordan Hubbard
* Submitted by: Julian H. Staceyats1994-11-201-1/+1
| | | | Changed the echo to match correctly the intended code.
* daily:joerg1994-10-301-3/+4
| | | | | | | | | | | | | | | Leave a warning to the sysop if (s)he didn't yet enable the /tmp cleanup code. Made `core' in the cleanup template look `*.core'. Replace `df -k' by `df -k -t local', since the stats for kernfs, procfs etc. are not of much interest, and the inclusion of nfs systems might hang the machine (nor is it a `disk' statistic as the headline's telling). weekly: Modified the locate.updatedb part to work even if there's no database yet; report errors other than `Permission denied' instead of silently ignoring all of them. Added functionality to rebuild the whatis database once a week.
* Turn on purging of accounting records in /etc/daily.csgr1994-05-191-7/+12
| | | | (Now that we have sa)
* From: Heikki Suonsivu <hsu@clinet.fi>jkh1994-05-131-2/+4
| | | | | | | FreeBSD release still nukes everything on scratch using a big-hammer method, even if it is nfs-mounted (and, when it is, the expiration policy may be different). Daily script should by default do nothing to remote filesystems?
* Commented out the global clean up that searched all file systems andrgrimes1994-01-121-4/+8
| | | | | | | | | | | | | | | added a note that you must decide what is appropriate for your system. >From: borsburn@mcs.kent.edu (Bret Orsburn) Date: Wed, 12 Jan 94 01:09:43 -0500 I've finally figured out (one of the reasons) why I can't run MS-Windows after running FreeBSD 1.0...*sometimes*. Here's your first clue. This is what your MS-Windows video drivers are called if you run a Number 9 GXE video card: /dos/windows/system/#9gxetc.drv /dos/windows/system/#9gxe.drv
* Redirect standard error onto standard out when call /etc/security sorgrimes1993-10-251-1/+1
| | | | | | that the errors from /etc/security are in the mail message from /etc/security and not the /etc/daily mail message. Now just to fix the bug in /etc/security
* Change uusnap to uustat -a, since we do not have a uusnap installed (somergrimes1993-10-131-1/+1
| | | | one did not finish porting uucp/contrib directory)
* Reenabled rotation of log files and killing of syslogd now that thergrimes1993-08-311-20/+16
| | | | lockup problem is fixed.
* Due to the bug with the console drivers and kill syslogd I have disabled thatrgrimes1993-08-091-16/+20
| | | | | in the daily and weekly scripts so that we don't get bug reports about something we already know. There are explanory comments in the files.
* Fixed daily so that it no longer does accounting since FreeBSD does notrgrimes1993-08-071-7/+7
| | | | | yet have the accounting stuff in it. Disabled ncheck search in security due to missing ncheck.
* Initial import of 386BSD 0.1 othersrc/etcrgrimes1993-06-201-0/+148
OpenPOWER on IntegriCloud