Commit Graph

45 Commits

Author SHA1 Message Date
ru
bbdffeab98 Apparently, people do not listen for a plea to look into the
README file before making changes here.  Fix them once again.
2001-02-15 12:25:48 +00:00
dougb
3bbfa62b63 Move the process of storing entropy from /dev/random and reseeding with
it at boot time closer to the way we want it to be in the final version.

* Move the default directory to /var/db/entropy
* Run the entropy saving cron job every 11 minutes. This seems
  to be a better default, although still bikeshed material.
* Feed /dev/random some cheesy "entropy" from various commands
  and files before the disks are mounted. This gives /dev/random
  a better chance of running without blocking early.
* Move the reseeding with previously stored entropy to the point
  immediately after the disks are mounted.
* Make the harvesting script a little safer in regards to the
  possibility of accidentally overwriting something other
  than a regular file.
2001-01-14 07:18:31 +00:00
peter
289c0d262f $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
rgrimes
6d0c96fd31 This cleans up all the white space errors so that the next
commit is easier to understand.
1999-08-24 03:51:34 +00:00
rgrimes
49e5b666a7 Fix script in README to actually work, empty lines produce as
much a diff as lines with the wrong stuff on it.

Add references in mtree data files to the README.
1999-08-23 05:12:43 +00:00
asami
08c5758049 Explicitly specify mode 755 for /var/db/pkg -- it will be mode 700 otherwise. 1999-03-31 13:38:37 +00:00
asami
931788c380 Add /var/db/pkg.
Submitted by:	John Hay <jhay@mikom.csir.co.za>
1999-03-31 07:06:39 +00:00
peter
b21a9231aa Old nit lying around in a source tree: Slightly optimize the number of
uname/gname overrides and /sets.
1998-12-16 05:50:25 +00:00
obrien
858002dcba Simplify these now that default owner is root.wheel.
Partially reviewed by: bde
1998-09-19 18:50:27 +00:00
obrien
7faa559f34 Change file ownership from bin.bin to root.wheel. 1998-09-14 08:34:45 +00:00
ache
067c35b940 /etc/opielocks -> /var/spool/opielocks 1997-10-01 13:06:31 +00:00
ache
c13d3a166f Disallow o+rwx for /var/games/hackdir hierarchy, it helps to make hack
non-setuid back
1997-09-24 17:40:11 +00:00
ache
b3a0eaa253 Create missing /var/games/hackdir/save 1997-09-24 08:14:51 +00:00
eivind
d8e95d8c1a Change games from setuid games to setgid games.
Reviewed by:	maybe@yes.no
Obtained from:	OpenBSD (mostly deraadt@openbsd.org)
1997-09-01 00:34:51 +00:00
ache
a1031fb59c Change /var/run owner to root - sendmail can't write sendmail.pid
otherwise due to safeopen
1997-07-29 11:23:14 +00:00
jkh
6abcfb484a Change group ownership of /var/mail to mail and permission
to 0775.

This does *not* instantly make any program which "ensures"
mail spool consistency by creating lock files safe in any way
since other tools, like mail.local, will be using flock() semantics
and any such lock file will simply be ignored.  It does, however,
allow a lot of things which are currently suid root in order to create
such bogus lockfiles to, at least, be bogus at a much lower level of
privilege (and this is good).  Ultimately, of course, everybody should
just use flock.
1997-05-03 20:15:15 +00:00
mpp
2e0efc5be6 Larn needs /var/games/larn to exist so that it can create its scorefile.
Closes PR# 1944.
1997-02-26 01:17:49 +00:00
peter
f173325ac8 Revert $FreeBSD$ to $Id$ 1997-02-23 09:21:14 +00:00
jkh
808a36ef65 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
joerg
9f6e7c4a28 Uncomment the "raw" lp entry in /etc/printcap. We start lpd by
default, so there's no use in running it without any printer
definition in printcap.  Also added a bunch of hints about the printer
setup, to guide the admin about the printer setup (handbook,
"apsfilter"), and a commented-out sample setup for a remote printer.

In the same line, add /var/spool/lpd/output to BSD.var.dist since it
is referred to by the "lp" entry in printcap.
1996-10-13 16:52:40 +00:00
pst
01d5123979 Fix buffer overrun, and run as nobody 1996-08-25 21:37:11 +00:00
ache
fe21df6c4d Change owner of msgs to daemon, sendmail msgs alias not works in other case,
sendmail change itself to daemon.daemon before executing program.
1995-11-19 16:50:34 +00:00
rgrimes
81c32f746b Regenerate these using mtree -cdinx -kuname,gname,mode on a very recently
built release after fixing all the wrong directory permissions in that release.

Then use diff -c -b to verify them against the old versions, nothing but
new directories added :-).  And a lot of alphabetizing done!
1995-05-17 09:31:17 +00:00
ache
6e2a70a06e Fix "at" directories owner 1995-04-12 03:02:01 +00:00
jkh
794fd6ebe4 Make /var/yp.
Suggested by: se
1995-02-15 01:51:18 +00:00
rgrimes
81f5d9ffb3 These are mtree generated versions of these files using the
new mtree options.

I will be updating these shortly to remove some old stuff and add some
new stuff.  These currently produce the exact same trees as they did.
1994-09-19 01:40:40 +00:00
rgrimes
d9744e3231 Secure /var/{backups, crash, and cron} by changing them to mode 750.
Reviewed by:	davidg
1994-09-09 14:12:01 +00:00
rgrimes
269be82bcc Fix missing .. before phantasia. Caused by incorectly adding a directory,
you MUST add the directory name and the .. entry to close the directory.

If you do not understand mtree files, do not modify them, it is very
easy to trash someones box with a mistake in here.  Especially with
regards to .. entries.
1994-09-09 13:43:21 +00:00
rgrimes
6059a2510d Add the missing . entries to BSD.*.dist files.
New file BSD.release.dist is used for creating release area top level
directories.
1994-09-09 13:35:59 +00:00
jkh
6624767fd9 Add /var/games/phantasia to list of targets, as per Rod's earlier suggestion.
Submitted by:	jkh
1994-09-08 19:18:51 +00:00
ache
e98c79aa42 Mode 0775 for /var/spool/lock 1994-05-31 07:49:53 +00:00
ache
887b745e40 Change /var/spool/uucp/* modes to 0775 1994-05-31 05:05:41 +00:00
ache
58e2ff7a33 Intruduce new group for uucp, gid 66
Change uucp directories group too
Change "lock" directory group to "dialer" to allow various
dialout applications to access it
1994-05-31 04:38:13 +00:00
jkh
e9565c30e2 Gordon Burditt <gordon@sneaky.lonestar.org>
Fix ownership of catpages, make ~uucp/uucppublic really public.
1994-05-20 22:50:37 +00:00
ache
d7f39fe833 mail a+rwxt changes backed out 1994-04-10 00:56:12 +00:00
ache
4da13cc465 Change default permission of /var/mail to 01777, because
MUA must have s-bit in other case (security hole).
This fix needed for procmail too, because procmail
uses NFS-locks in /var/mail directory
1994-04-06 19:37:45 +00:00
rgrimes
742a6c3780 General cleanup for 1.1 release, mostly add zoneinfo stuff to BSD.usr.dist 1994-02-15 10:38:50 +00:00
ache
10f4fd871e Add /var/at/jobs & /var/at/spool, remove /var/at/past 1994-01-08 16:07:19 +00:00
nate
af788d99e7 Added directories needed for at/atrun 1994-01-06 01:15:04 +00:00
nate
7903f01333 We've got accounting, might as well have a directory for it. 1993-12-08 00:49:11 +00:00
rgrimes
151a20f2d9 Miss spelled backups in BSD.var.dist, should have been backups, was backup. 1993-08-10 11:14:54 +00:00
rgrimes
36f6a3996f Added var/backup for daily scripts 1993-08-07 09:49:30 +00:00
nate
bd75659876 The updated mtree changed a couple things which required changes in
the mtree files.
1993-07-28 01:53:52 +00:00
rgrimes
c0fbaaed3b Updated BSD.*.dist files to reflect FreeBSD as it is now. 1993-07-19 18:48:15 +00:00
rgrimes
241ccdeaf3 Initial import of 386BSD 0.1 othersrc/etc 1993-06-20 13:41:45 +00:00