Commit Graph

1168 Commits

Author SHA1 Message Date
augustss
deb00272b9 Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers
1998-07-12 19:51:55 +00:00
fair
54ca279ad5 one more change per PR#4865 1998-07-10 06:22:15 +00:00
fair
ed1fb6ab66 remove reference to nic.ddn.mil 1998-07-10 05:41:04 +00:00
tsubai
502b5ef837 nvram support. 1998-07-03 11:58:28 +00:00
tron
ba882eb42a Add "cvspserver" from IANA's "port-numbers" as requested in PR misc/5675
by Erik Bertelsen.
1998-06-29 05:24:51 +00:00
nathanw
a93021e9be Find core files named "core" as well as "*.core". 1998-06-28 21:37:59 +00:00
fair
75f8e74b32 These commits do two things:
1. Provide a consistent and extensible framework for compiling
kernels for the "make snapshot" target.

2. Add OBJDIR support for the "make snapshot" target, in the form
of three new make variables: KERNOBJDIR, KERNSRCDIR, and KERNCONFDIR.
Default values are in the Makefile.inc, and for OBJDIR they should
be defined in /etc/mk.conf as

	KERNSRCDIR=${BSDSRCDIR}/sys
	KERNOBJDIR=${BSDOBJDIR}/sys/arch/${MACHINE}/compile

The next step is to make a new target in the src/etc/Makefile for "release"
(or something like that) to make release(7) format files.
1998-06-28 09:38:40 +00:00
wrstuden
f8e4c35d1e Add an entry for AppleshareIP for completeness and for users who
use Adrian Sun's modified Netatalk.
1998-06-27 20:29:47 +00:00
tsubai
aeb6277b0e New files. 1998-06-26 12:06:39 +00:00
fair
b2a68fe9de OBJDIR support for "make snapshot" 1998-06-25 17:54:05 +00:00
fair
2312085057 an experiment in OBJDIR support for "make snapshot" for sparc 1998-06-24 08:15:47 +00:00
tron
2e5ce72aad Strip comments from "${amd_master}". 1998-06-21 16:38:38 +00:00
mrg
d7624ddf03 create more than just mdN and rmdN, and add md0 to "floppy" list. 1998-06-20 12:15:52 +00:00
drochner
d099dd6212 change wscons tty names to ttyE* to avoid clashes with the pty namespace 1998-06-18 15:02:34 +00:00
perry
ece160e58e Remove references to obsolete directories, such as /usr/contrib,
/usr/old, /usr/X11R4, and others. Pointed out by jwise@unicast.com in
PR 5599
1998-06-16 22:57:38 +00:00
drochner
edcf4a0ca1 add nwscons tty nodes 1998-06-12 15:39:35 +00:00
dbj
d4c9aa0a05 initial import 1998-06-09 09:10:38 +00:00
mrg
dad728f592 add support for building bootable floppies. 1998-06-06 05:22:20 +00:00
lukem
db5e465501 add share/examples/ftpd 1998-06-06 01:30:45 +00:00
ragge
d491ae4df6 /dev entries + getty stubs for virtual console. 1998-06-05 22:31:43 +00:00
pk
12c0ef69ad Add `magma' nodes. 1998-05-20 00:01:06 +00:00
fair
048c02b861 no changes in previous rev, as documented; goof! (sorry). Once again - document that "domainname" is about YP/NIS, not Internet, per PR#5442 1998-05-11 19:01:13 +00:00
fair
db9db0284d more clearly document that "domainname" is about NIS/YP, not Internet, per PR#5442 1998-05-11 18:59:23 +00:00
fair
85da386c0f add PIM plus URL to protocols per PR#5438 1998-05-11 18:55:13 +00:00
mhitch
cf000ad823 SCSI drives at target 5 and 6 (and 7 for the DS3100) are now included
in the standard configuration, so build the rz* devices for them.
1998-05-10 16:52:14 +00:00
mycroft
434bd12422 Move tun to major number 93. 1998-05-09 00:13:57 +00:00
is
7dd68289be Support for serial devices with new-style dialout devices (currently, ttyC*
only).
1998-05-02 20:37:30 +00:00
leo
5130c5f83b Redo the tty numbering again to avoid future problems. Per discussion
with Chris Demetriou.
1998-04-24 05:56:30 +00:00
thorpej
416ac723a7 Add the "speaker" device. 1998-04-16 04:38:11 +00:00
leo
2571635f1f Correct cd minor numbers. 1998-04-14 10:51:32 +00:00
leo
5a3045445a Rename tty devices according to the following table:
tty00 -> 8530 Channel A (formerly ser02)
       tty01 -> 8530 Channel B (formerly mdm02)
       tty02 -> UART on first 68901 (formerly mdm01)
1998-04-14 09:16:42 +00:00
tv
6c5843297d libstdc++ 2.8 does not, in fact, need a `stl' include directory. 1998-04-08 23:37:22 +00:00
mrg
4c04041950 add "screenblank" support. 1998-04-07 04:47:33 +00:00
tv
f0b83e53cd Add /usr/include/g++/stl, needed by libstdc++ v2.8.x. 1998-04-03 02:41:05 +00:00
pk
e837c98ca8 For the ch & uk device, unit number == minor 1998-03-22 20:22:08 +00:00
mycroft
573bdc9331 Introduce a couple of variables to make this clearer. 1998-03-22 02:26:48 +00:00
mycroft
72c495dc7c Create dty (dialout) device nodes for the zs driver.
Also add support for creating ttyc and ttyd, for the 4/300s.
1998-03-22 01:22:10 +00:00
mycroft
352ec2fb25 Create dty (dialout) device nodes for the com driver. 1998-03-22 01:15:00 +00:00
ragge
9727ea1870 Add entries for generic console (gc*) and QDSS screen (qc* qnd qd*). 1998-03-20 18:23:57 +00:00
mikel
611439d1c1 add a mail group with no members for anyone who wants to try setgid mail 1998-03-18 05:38:12 +00:00
lukem
77eeaedfe8 improve description comment 1998-02-28 22:56:11 +00:00
lukem
79201de07b * add synonyms for "yes": "true", "on", and "1"
* add synonyms for "no": "false", "off", and "0"
* remove unnecessary trailing semicolons (this is sh, not C)
1998-02-28 22:54:02 +00:00
lukem
cb545a7ee4 send ntpdate output to syslog rather than stdout (with -s).
suggested by "Soren S.  Jorvang" <soren@t.dk>
1998-02-24 00:24:45 +00:00
lukem
63e548eb1d exclude 127.127 servers when automagically determining ntpdate hosts 1998-02-23 05:20:52 +00:00
gwr
a810b8125c kill sun3x dirs 1998-02-17 18:50:36 +00:00
perry
52ab5d64ab rm ancient 4.4BSD.* mtree files -- they were out of date and used by no one. 1998-02-16 19:20:08 +00:00
mrg
2f794bc82c make sshd startup less bogus, for now. 1998-02-12 14:37:57 +00:00
gwr
a3e7f95941 Add fd0 1998-02-11 19:33:56 +00:00
gwr
1a78005b10 Build both sun3 and sun3x kernels 1998-02-11 19:19:53 +00:00
gwr
78a878423e see ../etc.sun3 1998-02-11 19:06:28 +00:00
lukem
7d9cd1c869 * remove explicit bin:bin override on the last few directories that had it
* don't bother making some of the /usr/share/zoneinfo subdirs; zic(8) does
  it for us...
1998-02-09 12:01:57 +00:00
ragge
72087874f4 Split out MSCP floppies as a separate device (rx) instead of handling
them as disk drives.
1998-02-08 14:15:18 +00:00
mikel
ff5b8d6f01 move comments to lines of their own as required by aliases(5) format;
from NAKAJIMA Yoshihiro in PR misc/4896 with some minor modifications.
1998-02-02 06:14:45 +00:00
lukem
3c794c463b change default speed from 1200 -> 9600 1998-01-29 08:28:31 +00:00
lukem
8f59ce8e35 include rc.subr and use appropriately 1998-01-26 12:02:43 +00:00
lukem
a6fc46b600 fix indentation 1998-01-26 12:01:35 +00:00
lukem
6b18196f4c convert 'if .. else .. fi' into a 'case .. esac', and allow for any
uppercase/lowercase variations of 'yes' and 'no'. fixes [misc/4887]
sent in by "John F. Woods" <jfw@jfwhome.funhouse.com>
1998-01-26 04:36:26 +00:00
veego
16cc8254d4 Move ipnat from /etc/netstart to /etc/rc after /usr is mounted. 1998-01-24 19:12:54 +00:00
perry
d4c97cbc62 close pr 4868 -- duplicate uucp entry; from Thorsten Frueauf 1998-01-22 16:23:32 +00:00
thorpej
93e03f92fd Sync PATH with our csh counterpart. 1998-01-17 19:36:40 +00:00
perry
bac6f0ec1e fix root .cshrc so that it ends prompts with a '#' when invoked by root
and a '%' when invoked by non-root.
Submitted by riz@beast.boogers.sf.ca.us in pr-4248
1998-01-10 00:51:56 +00:00
perry
6b9926770a get rid of secretmail residue -- suggested in pr-4568 from Carl Shapiro 1998-01-10 00:06:23 +00:00
perry
296a627800 add a number of "standard" system aliases from rfc2142. 1998-01-09 23:51:09 +00:00
perry
30e556f4e5 Fix pr 4587 (from Matthias Scheler) -- pause slightly after xfs starts. 1998-01-09 21:57:17 +00:00
perry
7c63fb2780 RCS Id Police. 1998-01-09 06:09:56 +00:00
perry
beb57094f3 RCS Id Police. 1998-01-09 06:09:54 +00:00
perry
31a32e5502 RCS Id Police. 1998-01-09 06:09:38 +00:00
perry
db7fdfc8c4 /usr/{src,obj,pkgsrc} -> root:wsrc, 0775 1998-01-03 06:00:33 +00:00
jeremy
29cec37de0 Added sun3x-specific man directories. 1997-12-24 07:03:22 +00:00
jeremy
1df14ee4ce Initial import 1997-12-24 02:33:05 +00:00
mikel
1895ff2657 back out last change, /etc/aliases.db now auto-rebuilt by default sendmail.cf 1997-12-22 05:58:58 +00:00
christos
0a66272517 PR/3638: David Brownlee: Add /etc/ipnat.conf functionality. 1997-12-20 20:11:53 +00:00
gwr
07534ce1f9 Add BIN3+=etc.sun3/ttyaction 1997-12-20 01:56:51 +00:00
mikel
91b08a9d37 build $DESTDIR/etc/aliases.db in distribution: target 1997-12-18 06:31:33 +00:00
mikel
30f9c7850e make root owner of /usr/games/hide to match NetBSD.dist, fixes PR 4658 1997-12-18 06:10:31 +00:00
perry
f87648fb09 ld.so.conf is now supplied on all ports -- remove from here 1997-12-17 22:47:47 +00:00
perry
b1e6db6460 add an ld.so.conf for all ports 1997-12-17 22:41:05 +00:00
perry
b17d82e086 oops -- /usr/local/lib, not bin 1997-12-17 22:38:56 +00:00
perry
0baf70633d add an ld.so.conf for all ports 1997-12-17 22:37:54 +00:00
scw
d38afea725 Need 768 blocks for ramdisk root entry: rdroot. 1997-12-17 21:18:23 +00:00
mrg
0e2d79bd14 fix paths: remove old cruft and add pkg & X11R6 1997-12-17 01:45:13 +00:00
gwr
c0ab21db55 Run getty on the actual devices (not /dev/console) so that
/etc/ttyaction does its thing for /dev/kd but not /dev/ttya
1997-12-15 03:28:32 +00:00
fvdl
9a6d991cf2 Make some more disk devices; people may have more than 2 wd disks
or 4 sd disks these days.
1997-12-15 01:05:01 +00:00
is
4478afe5be - add device nodes for explicit high/middle/low density modes of tape
drives, as some drives (like ARCHIVE VIPER 150S) refuse to work with the
  default.
- add a hint about this to the INSTALL document.
1997-12-14 18:46:51 +00:00
thorpej
e0f8b930a3 Add ./usr/share/examples/amd 1997-12-13 22:13:25 +00:00
gwr
dc6d631270 MAKEDEV all will make lkm 1997-12-09 21:22:16 +00:00
chuck
40fa2961dc fix formatting 1997-12-03 16:41:53 +00:00
mrg
9e18102e4e add /usr/pkg/man 1997-12-02 07:04:56 +00:00
mrg
c854ff0798 create etc/mtree/Makefile and let it deal with what files are installed. 1997-12-02 06:52:14 +00:00
mhitch
0ceb9d5518 Create disk and tape devices for a second SCSI adapter for 'all'. 1997-12-01 22:42:20 +00:00
mhitch
ff89300263 Allow creating disk devices on a second SCSI bus (rz8 - rz14). 1997-11-28 03:11:58 +00:00
jonathan
f8686e38a4 Use correct major number when creating tun? devices. 1997-11-28 01:09:52 +00:00
jonathan
3d42eeddd3 Apply patch for reserved framebuffer devices suggested in PR 4474. 1997-11-28 00:55:10 +00:00
tv
60ac257eb3 Fixes PR #3858: /dev/fd uniformly updated in MAKEDEV to make directory
(and file nodes) owned by root.wheel, and /dev/fd directory mode 755.  Now
it matches mtree (and the rest of the system's permissions/owner layout).
1997-11-26 03:09:23 +00:00
perry
71c588580c cribloo -> criblog 1997-11-24 02:03:44 +00:00
mrg
d2cfb19c3d print a warning if no swap devices are configured and "no_swap" is not YES. 1997-11-23 04:17:57 +00:00
mrg
e7f9829b60 install empty games data files with the correct perms for a distribution. 1997-11-20 08:53:06 +00:00
fair
ffa1ced6be add appropriate entry to make "random" as documented in rnd(4).
add "random" entry to "all".
1997-11-20 05:57:38 +00:00
mrg
c70a2f5e64 make /usr/games/hide mode 750, and remove bogus /var/games/save entry. 1997-11-19 08:29:59 +00:00
phil
1c60498c17 Change sizes in boot3 for larger boot loader. 1997-11-18 01:14:42 +00:00
mrg
dae7a8ed1d - remove additional `adding interface aliases:' message.
- add `ppp_peers' support, which will run `pppd call <peer>' for each
  peer listed in the ppp_peers file that also has a /etc/ppp/peers/<peer>
  configuration file.
1997-11-17 17:45:28 +00:00
agc
ef7b4af515 Don't set username to man on the */cat? directories, as that username
might not exist on NetBSD.
1997-11-17 16:49:07 +00:00
agc
d7aabd3e25 Add NetBSD RCS Id. 1997-11-17 08:20:08 +00:00
agc
ab7ea0b72f Initial import of FreeBSD's X11 mtree file. 1997-11-17 08:17:44 +00:00
cjs
d434714783 Add a minimal set of devices for install disks, etc. 1997-11-15 18:38:30 +00:00
veego
f93c329b6d - s/samples\/ipf/examples\/ipf/ and remove the ./usr/share/samples entry 1997-11-13 09:48:06 +00:00
jonathan
040d2c120f Make symlink /dev/mouse -> /dev/fb0 for Xserver as part of 'all'. 1997-11-13 04:59:36 +00:00
thorpej
aab15741b1 Add ./usr/share/examples/{svr4,ultrix}/etc 1997-11-13 03:15:59 +00:00
thorpej
8801848476 Add ./usr/share/examples/supfiles 1997-11-13 02:36:18 +00:00
jonathan
8fb5daf0f7 Allow etc.{$MACHINE_ARCH}/Makefile.inc to add files to BIN1, BIN2, BIN3. 1997-11-11 04:37:17 +00:00
jonathan
6ba565c4d3 Add options to rc.conf and rc to start xfs (x font server) and xdm.
Add entries to rc.conf.5.
While we're here, note that the domestic kerberos damons are still
Kerberos IV, not kerberos version 5.
1997-11-11 02:28:58 +00:00
mjacob
4261733b62 Ooops. It's blk=2,chr=12, not the other way around. 1997-11-08 20:56:35 +00:00
jonathan
b0af934e5a Increase 'a' partitions from 16 to 32 mbytes, by stealing 16 Mbytes
from swap.  Sanity-check. With help from entropy@zippy.bernstein.com
1997-11-08 05:27:15 +00:00
scw
291b9b23f8 Add 'tty*' target for onboard serial ports. Include in list for 'all'.
(I'm surprised this wasn't spotted earlier...)
1997-11-07 21:29:21 +00:00
gwr
58ec6c7794 Add u?random (also use the mk function a couple more places). 1997-11-04 22:16:16 +00:00
jeremy
bb2b303079 Added lkm [PR/4421]. <nathanw@mit.edu> 1997-11-04 15:21:00 +00:00
jonathan
840959cd6a Add a skeleton ld.so.conf which puts /usr/X11R6/lib on the default ld path. 1997-11-03 10:15:39 +00:00
jonathan
f6cf10401f Changes to pmax MAKEDEV and /dev/ttys:
* Remove old MAKEDEV code for scc and dc that tried to map tty0 and
   tty01 to whichever major/minor were the two comm ports.
 * Use /dev/tty[abcd] for the scc driver,  in linearly increasing
   minor-number order.   (cf. NetBSD/sparc),
 * Use /dev/ttyD[0123] for the dc705 (DZ11 clone) driver, in linearly
   increasing minor-number order. (cf. NetBSD/vax).
 * Add the above entires to the pmax /etc/ttys.

While we're here, fix wrong major for tun, and comment out unsupported devices.
Addresses PRs pmax/4007, pmax/4330, pmax/4367.
1997-10-30 04:18:27 +00:00
fair
cd60c56216 As absurd as it seems with PR#3063 dated 27 Dec 1996, we're pressed for time
before the 1.3 release, and must deal with the permissions of /var/mail in an
expeditious fashion. Therefore, 1777 is the way to go for now.
1997-10-29 21:26:05 +00:00
veego
9d2b967088 New console entry for the CyberVision64/3D (ttye7). 1997-10-29 20:10:53 +00:00
leo
377c33d6e9 Remove uses of config.new (Bernd Ernesti) and do some cleanups to match
reality.
1997-10-29 10:36:24 +00:00
mrg
96a74009df RCSid police. fix pr#4307 from Eric Haszlakiewicz: csh aliases broken with. 1997-10-28 03:33:18 +00:00
mhitch
40e258398f Create CDROM devices with correct minor: there are 16 partitions, not 8 per
device.
1997-10-27 23:53:06 +00:00
cjs
e5a5043874 Make partition a of the 3.5" floppy label a 4.2BSD filesystem, rather
than unknown. (This now matches the i386.)
1997-10-27 04:45:38 +00:00
lukem
7c5015bdd6 for $check_uucp:
- use /usr/libexec/uucp/clean.daily instead of /etc/uuclean.daily
- use 'su daemon -c command' instead of 'echo "command" | su daemon'
1997-10-27 04:18:06 +00:00
lukem
d5b4ca3bbf use /usr/libexec/uucp/clean.weekly instead of /usr/lib/uucp/clean.weekly [misc/4357], and use su user -c command instead of echo command | su user 1997-10-27 04:11:40 +00:00
hubertf
7dc328792c Also look in /usr/pkg/man for manpages.
Closes PR misc/4356 by Matthias Scheler <tron@lyssa.owl.de>
1997-10-27 02:55:07 +00:00
lukem
552f0dc291 Move /etc/daily from 02:00 -> 03:15, and /etc/weekly from 03:30 -> 04:30.
Should prevent problems during daylight savings changeover (which is usually
between 01:00 -> 03:00, depending upon the region) where the cronjobs
may be executed twice, or never at all...
1997-10-26 13:36:31 +00:00
chuck
dcab1fe15c fix typeo in prev commit 1997-10-23 22:53:30 +00:00
is
560b960e0d finalize Objective-C support, closing PR 4200 by Peter Simons:
- add /usr/include/objc to mtree
- set libobjc/Makefile INCSDIR=/usr/include/objc
- put to-be-installed includes to libobjc/Makefile into INCS=
- add the Objective-C source files to the appropriate lists.
- as the objc include files are installed now, no need to patch most
  of the files.
- add /usr/include/obj/* to src/distrib/comp/mi
The changes have been applied to gcc2netbsd, and this script was then used
to create the new version of the files in libobjc/.
1997-10-22 12:56:37 +00:00
fair
245b25c2ef fix /var/mail permissions so that "dot locking" works. 1997-10-20 21:30:30 +00:00
veego
56c06eb279 Make devices for the CyberVision 64/3D. 1997-10-19 21:35:37 +00:00
is
f44299d859 Add more audio devices. 1997-10-19 21:09:34 +00:00
hubertf
576b498857 Install BSD.pkg.dist in ${DESTDIR}/etc/mtree
(used from within bsd.port.mk)
1997-10-19 15:27:25 +00:00
thorpej
c8d4b16d94 Add ./usr/include/bfd 1997-10-18 21:38:14 +00:00
mark
8f1122b19e Added qms device and removed quadmouse device.
Removed acd references.
1997-10-18 03:59:27 +00:00
fair
163ecaca80 fix /var/mail permissions for distribution 1997-10-17 19:16:43 +00:00
fair
a10e2ce967 add mailq 174/tcp for zmailer MTA 1997-10-15 08:12:48 +00:00
drochner
a06997e6bd Replace the (slightly broken) check to avoid double mounting of
filesystems by a correct one. (too bad that there was no agreement
about a mount option doing the same...)
Introduce a new rc.conf variable to mount user-defined filesystems
early in startup (eg for syslog, crashdumps, ...).
1997-10-10 09:37:54 +00:00
mycroft
f087df6319 Search for man page source in section 3f. 1997-10-09 23:00:20 +00:00
cjs
02d94cd4ae Add /usr/libexec/sm.bin for smrsh programs. 1997-10-09 20:08:34 +00:00
mycroft
dae4e5df82 Deal with files in the changelist that are added or removed.
* When a file is removed, move its .current file to .backup.
* When a file is added, create its .current file.
* In either case, send a diff against /dev/null.
Mostly from Jim Bernard in PR 4183, with the removal case fixed.
1997-10-08 16:13:44 +00:00
mycroft
ca61184b11 Add a BIN3 for files installed with mode 0600 (e.g. hosts.equiv). 1997-10-08 10:47:42 +00:00
mycroft
d7462e16b0 Make /usr/obj, /usr/src, /usr/pkg, and /usr/pkgsrc `ignore optional'. 1997-10-08 10:43:09 +00:00
mrg
49a7341d45 make these changes to the default user.group:
- internal services run as `nobody'
- rpc.rusersd and rpc.sprayd run as `nobody'
- rpc.rstatd run as `nobody.kmem'
- rpc.rwalld run as `nobody.tty'
1997-10-07 12:45:32 +00:00
lukem
cb57cd9636 add $ipmon and $ipmon_flags, to control startup of ipmon(8) 1997-10-07 12:11:48 +00:00
lukem
350c40dec5 add appletalk services [misc/4205] 1997-10-07 08:15:04 +00:00
lukem
9218b57240 remove bogus example 1997-10-07 07:39:34 +00:00
mrg
4902b56931 turn off lpd by default. 1997-10-06 14:10:22 +00:00
mrg
3aa3ff6410 comment a few entries, and add X11 1997-10-04 13:22:54 +00:00
mrg
cf443f3572 add hunt(6) entry (commented by default) 1997-10-04 09:16:00 +00:00
mrg
fe68d83ff9 add hunt(6) port. 1997-10-04 09:11:55 +00:00
is
f1c9e3d0d1 - make ttyC* description up-to-date
- make more (8) ttyC's, is enough for 2 HyperCom4, or DraCo + HyperCom3/GVP-IO
  +  HyperCom4.
1997-09-26 15:38:50 +00:00
lukem
332ce4e67a highlight that a configured lo0 is necessary for sane network operation 1997-09-26 07:44:07 +00:00
thorpej
1f8ffaf716 Add /usr/pkg (destination of installed packages) and /usr/pkgsrc (where
build-from-source packages will live, as a separate SUP collection).
1997-09-25 19:05:08 +00:00
lukem
90ec96df78 - use 'ftpd -C user' to check the format of /etc/ftpusers.
closes [security/4061]
- rename $MPPATH to $MPBYPATH, to clarify its use
1997-09-23 14:36:56 +00:00
veego
4dd2356bd7 Add ./usr/share/samples/ipf 1997-09-21 16:51:44 +00:00
mikel
3d302c58a2 make some more files optional; from Erik Bertelsen in PR 4048 1997-09-20 04:02:01 +00:00
mikel
b7c59de85d RCSid police 1997-09-20 03:09:17 +00:00
mikel
3e3f02a092 don't try to copy nonexistent README, & RCSid police 1997-09-20 03:05:39 +00:00
lukem
f09b5e36c7 - don't print "Checking setuid files and devices:" if no problems
found (solves [security/4047])
- minor cleanup (rename a couple of variables, etc)
1997-09-18 05:16:19 +00:00
is
af77dd123b Add Envoy NIP entry, as per rfc1700, closing PR 3499.
XXX We should have a script to import the official IANA list, transform to
# style comments, and augment with our additions.
1997-09-17 11:20:26 +00:00
bouyer
8f21e932b0 Typo in comments: netstart uses /etc/defaultdomain, not /etc/domainname. 1997-09-15 11:42:26 +00:00
mycroft
33aa7a562f f before t... 1997-09-12 17:42:08 +00:00
drochner
a14fe6a191 fix an rc.conf flag check which was broken with the "checkyesno" changes 1997-09-12 10:36:04 +00:00
drochner
52157361c2 avoid to mount /usr twice if LKM load already did it 1997-09-12 09:53:08 +00:00
mikel
2bf1150565 add some files from /etc: inetd.conf, newsyslog.conf, protocols, rc.subr,
rpc, and services (required); ld.so.conf and resolv.conf (optional).
remove pointless 'ignore' keyword from /dev/mem
1997-09-10 06:09:15 +00:00
mikel
afc1906e1c add some files from /etc to the list: csh.logout, inetd.conf,
ld.so.conf, newsyslog.conf, profile, rc.subr, resolv.conf, and rpc.
1997-09-10 06:05:44 +00:00
mikel
a876c50cde deny toor; from Jim Bernard in PR security/4061 1997-09-08 02:51:58 +00:00
mikel
8806d2a16f update $net_interfaces comment to reference $auto_ifconfig 1997-09-08 02:43:26 +00:00
mikel
8cd518d0fd no more DEFAULT for $ntpdate_hosts; from Geoff Wing in PR bin/4073 1997-09-08 02:34:44 +00:00
cjs
26d1975b33 Add -l option to inetd. 1997-09-07 19:13:50 +00:00
mycroft
0d67d0dcc3 Nuke myname. 1997-09-07 10:08:31 +00:00
mycroft
6fd4b6ac56 Remove totally bogus default host name. 1997-09-07 09:49:49 +00:00
mycroft
be208d150c Hard-code the loopback address; it never changes, and we do *not* want to be
doing name lookups here (by default, at least).
1997-09-07 09:47:31 +00:00
leo
3d37936e8d Extend with:
- a bit more of descriptive text
	- an example of the new way swap devices are defined
	- an example of the '-G' flag for GEMDOS-flavored msdos filesystems.
1997-09-02 19:59:23 +00:00
leo
7991f3f025 Remove fdN and rfdN before their node creation. 1997-09-02 19:56:56 +00:00
pk
46ac7ce9eb Don't copy files which are no longer here. 1997-08-31 23:22:02 +00:00
cjs
ebb2301a41 Prune unused function. 1997-08-30 03:34:29 +00:00
veego
fb559c8dc2 Add a check if sshd exists and comment out the sshd startup and the test.
Not everyone has a sshd on his system.
1997-08-29 10:29:07 +00:00
veego
fb251b85eb Only start programms which we started in the previous version (1.15)
and also don't use the PATH with /usr/local/sbin:/usr/local/bin .
1997-08-29 10:22:24 +00:00
veego
61cf6ecccc s/rc.func/rc.subr/ 1997-08-29 10:09:38 +00:00
veego
d1307e8424 Curt, what is in rc.func ?
I only see rc.subr so I renamed rc.func to rc.subr.
1997-08-29 09:33:34 +00:00
veego
08b399c5ce Add rc.subr to BIN1 1997-08-29 09:28:50 +00:00
cjs
c3b0e18db8 Split rc.conf variables for starting programs into two: an on/off
switch and a set of flags. Get rid of DEFAULT flags entirely. Print
warnings if on/off switches are not set, or are set incorrectly.
Add a shell function to simplify this on/off switch testing.
1997-08-29 02:24:04 +00:00
mycroft
39709ef236 Don't require the host name to be set here. 1997-08-28 18:18:17 +00:00
thorpej
5b004f0ce6 ldconfig processes /etc/ld.so.conf internally; run it without cat'ing
the contents into an argument vector.
1997-08-26 19:35:33 +00:00
perry
a8f17a8bdb update to version 1997082200 from Internic. 1997-08-24 15:50:47 +00:00
lukem
8ab86c4242 * add enss* to ss*
* use $0 instead of MAKEDEV
* remove superfluous umasks
1997-08-22 15:35:12 +00:00
lukem
ed0a7677a8 * unlink devices before attempting to mknod them
* remove superfluous umasks
* replace `eval ...` with $((...)) or ${i#...}
* use $0 instead of MAKEDEV
* warn on unknown devices
* add enss* to ss*
* ensure tapes are root.operator 660
1997-08-22 15:30:49 +00:00
lukem
96f44170dc * use $0 instead of MAKEDEV
* use $((...)) instead of `eval ...`
* st* and md* are now root.operator 640
* reset the umask after running MAKEDEV.local
1997-08-22 15:02:12 +00:00
lukem
e9aa93e046 obsolete stuff that's be superceeded by /usr/src/distrib/... 1997-08-22 12:27:46 +00:00
lukem
f27e440f72 * remove superfluous umasks
* st* perms are 660 not 640
* ttyv* isn't a special case on the sparc (it's an i386-ism)
* add enss* to ss*
* use $0.local instead of MAKEDEV.local, and reset the umask afterwards
1997-08-22 12:25:16 +00:00
lukem
49d132729c these are *way* out of date... 1997-08-22 12:24:25 +00:00
lukem
3554ac334d * use $0 instead of MAKEDEV
* remove devices before mknod-ing them
* use ${i#...} and $((...)) instead of `eval ...`
* tz* has perms 660 root.operator (instead of 666 root.wheel)
* consolidate a few devices into one case, with internal switching
  for the slight difference (usually unit name and major number)
* reset the umask after MAKEDEV.local
* don't treat ttyv* specially - it's an i386-ism
1997-08-22 12:16:28 +00:00
lukem
b790d7bce9 ttyv* shouldn't be treated specially on the hp300 (it's an i386-ism) 1997-08-22 12:06:27 +00:00
lukem
d4a3164363 ttyv* shouldn't be treated specially on the alpha (it's an i386-ism) 1997-08-22 12:04:03 +00:00
lukem
607e11fb8a * add enss* to ss*
* st* has perms 660 not 640
* use $0 instead of MAKEDEV
* reset umask after MAKEDEV.local
1997-08-22 11:34:30 +00:00
lukem
cdfa15cb5b * st* has perms 660 not 640
* add enss* to ss*
* invoke MAKEDEV.local as $0.local, and reset the umask afterwards
1997-08-22 11:30:57 +00:00
lukem
fcbf94775b * add enss* to ss*
* st* has perms 660 not 640
* invoke MAKEDEV.local as $0.local, and reset umask afterwards
1997-08-22 11:26:01 +00:00
lukem
5629b8d007 * st* and wt* have perms 660 instead of 640
* add enss* to ss*
* invoke MAKEDEV.local as $0.local
* reset umask to 077 after running MAKEDEV.local
* warn on unknown devices
1997-08-22 11:19:43 +00:00
lukem
81cdcf7570 * use $0 instead of MAKEDEV
* set ct* mt* and st* to root.operator 660 (not root.wheel 666)
1997-08-22 11:10:42 +00:00
lukem
1d665a7616 * use $0 instead of MAKEDEV
* remove superfluous umasks
* st* perms are 660 not 640
* ensure md0 and rfd0c get the correct perms
* add enss* to ss*
1997-08-22 10:55:18 +00:00
lukem
3e16910ca2 remove enss* before we try & mknod it 1997-08-22 10:46:27 +00:00
lukem
7cb2956f2d * st* has perms 660 not 640
* add enss* to ss*
* md* is root.operator 640 not root.wheel 600
* use ${i#...} instead of `expr ...`
* use 'sh $0.local' not 'sh MAKEDEV.local'
* warn on invalid devices
1997-08-22 10:41:17 +00:00
lukem
93f6aeeee8 use 'sh $0 ...' instead of 'sh MAKEDEV ...' 1997-08-22 10:32:28 +00:00
lukem
fca196598f * use $((...)) not expr ...
* st* has perms 660 not 640
* use $0 not MAKEDEV
* add enss* to ss*
* remove superfluous use of umask
* ensure umask is reset after running MAKEDEV.local
1997-08-22 10:28:06 +00:00
lukem
237c80a5db * set perms on st* to 660 not 640
* remove superfluous umask
1997-08-22 10:14:45 +00:00
lukem
89fa41e9da - correct use of generated temporary files.
- clean up comments and generated output.
- clean up $SECUREDIR if SIGINT or SIGQUIT received.
- .rhosts may have to be world readable in NFS environments, so allow it to be.
- update list of disks to check for reasonable permissions
- don't show differences in /etc/master.passwd, as the encrypted strings may
  be sent. From reading comments earlier in the script, this was the intention
  anyway. Fix from Jim Bernard <jbernard@tater.mines.edu> in [security/3994].
- when checking /etc/ftpusers, skip comment lines and only match full
  usernames.
  XXX: this should be enhanced to check lines of the enhanced ftpusers format.
1997-08-22 09:40:17 +00:00
agc
44579dfa67 Remove the uname=man lines as NetBSD doesn't seem to have a user called
man.

Add NetBSD RCS Id.
1997-08-20 15:41:11 +00:00
agc
51e120ae5a Import FreeBSD's etc/mtree/BSD.local.dist as etc/mtree/BSD.pkg.dist.
This is for use with the FreeBSD ports system.
1997-08-20 15:23:33 +00:00
mikel
71d389d416 include hostname in subject of email with results of running *ly
scripts; from Jim Bernard in PR misc/3996
1997-08-20 07:18:41 +00:00
veego
94c1e883f6 Added missing en$name$unit entry for the chmod command in ss*).
Noticed by Luke Mewburn on tech-security.
1997-08-19 18:39:56 +00:00
lukem
a563ca4687 As per [bin/1814] from Arne Juul <arnej@imf.unit.no>, and discussions
with matt green <mrg@netbsd.org> (to shut up /etc/security)
* set ingres account shell to /sbin/nologin
* set ~daemon to / (not /root)
1997-08-19 15:07:12 +00:00
lukem
67087092d4 remove incorrect vn* entry, as vnd* exists and vn* doesn't work anyway 1997-08-19 13:33:04 +00:00
lukem
0f26a04544 * ensure that check for '.' in root's $PATH doesn't yield a false positive.
fix from Jim Bernard <jbernard@tater.mines.edu> in [security/3995]
* detect empty :: elements as '.' in a sh(1) path (leading :, trailing :,
  or ::)
1997-08-19 12:08:35 +00:00
augustss
912c4ee11f Create /dev/audioctl and allow creation of multiple audio devices. 1997-08-18 21:23:12 +00:00
cjs
d10a9ab09b Move ntpdate before `starting network daemons' to get cleaner output
during boot. Besides, it's not a daemon anyway.
1997-08-05 03:32:51 +00:00
lukem
edbafa0300 4.4BSD has the ability to automagially add a route to localhost from
an interface to first time its address is referenced.  Therefore:
* configure lo0 before all other interfaces (rather than afterwards).
* don't explicitly add a route from `hostname` to localhost
1997-08-04 06:09:49 +00:00
perry
e77a6f04d3 Finally finish fixing pr-230 by assigning minor+8 and minor+16 device
names for the lower density minor dev numbers. My shell code would
even work for a wt1 device, but I would seriously pity anyone trying
to get two of these things to work on one machine. Heck, no one should
even try to use ONE wt device.
1997-08-04 03:50:26 +00:00
perry
2a376043c7 add apmd to /etc/rc and /etc/rc.conf per Lennart Augstsson in pr 3313 1997-08-03 22:24:20 +00:00
leo
b9906e7600 Use DISKUNIT macro to encode md's unit in the minor number. 1997-08-01 19:38:30 +00:00
perry
07a71fdfd0 Make MAKEDEV and MAKEDEV.local mutually consistant. Reported in
pr #2596 by Tatoku Ogaito, but my fix is different from his.
This is purely an aesthetic change.
1997-07-31 04:08:15 +00:00
perry
e53ae14bdd Fix boot time vi recovery as reported by NAKAJIMA Yoshihiro in pr-3430
Really weird bug. On inspection, the shell code in rc looked fine, but
when tested, sure enough, the semantics of the shell were not what I
thought they were. Very unexpected to me, and obviously to the
hundreds of people who must have read those lines without seeing that
they were broken.
1997-07-31 03:35:39 +00:00
perry
7bd6622ead make some items 'optional' -- per pr-3663 from Erik Bertelsen 1997-07-31 03:03:13 +00:00
mark
0c0a1966bb Use the Pc entry from gettytab for our virtual terminals. 1997-07-31 02:34:18 +00:00
perry
ea4d1ded44 1) close my own pr-2502 by adding ce and ck to default
2) substantial cleanup. In particular, I got rid of lots of
   egregiously obsolete entries, and I got rid of obsolete
   capabilities in the only mostly obsolete entries, etc.
1997-07-31 00:38:30 +00:00
perry
9dee21c94e add a default minfree file (requested by David Brownlee, pr-1577) 1997-07-30 22:17:55 +00:00
phil
851aef5327 Add ta=4.2BSD to both floppy3 and floppy5 entries. (If you are
disklabeling your floppy, you are most likely putting on a 4.2BSD
file system.  This is in support of the distrib/i386/floppies
building via vnds.)
1997-07-29 18:46:06 +00:00
mark
fb64b594bc Added a ramdisk option to build all the devices needed for an install
ramdisk.
Reformatted a couple of lines.
1997-07-28 17:41:59 +00:00
mark
b7b4948831 Added swap entry and a nice set of comments. 1997-07-28 17:38:45 +00:00
phil
ffde90f14b Make all tty??/pty?? pairs that can be opened by openpty().
Remove use of awk for generating names.
Make all consistent as possible.
Closes PR 3420.
1997-07-23 01:29:36 +00:00
phil
840d172649 Make all MAKEDEVs make fd/* similar. No need for awk or expr.
Inspired by PR 3420.  Some MAKEDEVS had the fd separated out
of std and fd added to std.
1997-07-22 23:13:05 +00:00
phil
779c94c7af Allow routes to be flushed in netstart (rc.conf option, default YES).
PR 3228.
1997-07-22 18:41:08 +00:00
perry
1edc7aef02 fix 3885 from Matthias Scheler -- print out the name of each loaded module 1997-07-18 23:38:52 +00:00
phil
a621321b0e Add /usr/share/sendmail/cf that got missed in original addition of
/usr/share/sendmail/*.  Closes PR 3881.
1997-07-17 20:45:01 +00:00
mark
237e1b7fb6 Create wd2 and wd3 device files for 'all' and 'floppy' options. 1997-07-17 00:12:55 +00:00
phil
bc41d19ad5 Add /usr/share/sendmail tree to distribution. 1997-07-16 23:33:59 +00:00
veego
fb68fae55e Move savecore up before named to get a dump on low memory systems and
move 'mount -a' between yp and nfs daemons.
1997-07-15 11:19:20 +00:00
drochner
4e045b6b43 Take 2 to get the mount order "right", taking care of possible LKM
loads before netstart this time.
LKMs can be loaded at 3 strategic places in /etc/rc - before netstart,
before "mount -a" and after all. "before netstart" works only if
the /usr filesystem is local (or on NFS, if root is too).
An additional field ("when") in lkm.conf controls when the LKM is
loaded.
1997-07-14 11:55:44 +00:00
hpeyerl
93f2294467 Satellite receiver driver for ISA cards from PlanetConnect by Jason and
Herb for Canada Connect Corp.
1997-07-13 19:29:17 +00:00
hpeyerl
91e0832cae Satellite receiver driver for ISA cards from PlanetConnect by Jason and
Herb for Canada Connect Corp.
1997-07-13 19:16:59 +00:00
veego
a6fe27dced Back out the last two commits for now till we find a better way to fix
the mount problems.
1997-07-11 12:01:06 +00:00
veego
6553fa7064 rc.lkm needs /usr/bin/ld, so try to mount it with -t nonfs before rc.lkm. 1997-07-11 09:06:59 +00:00
phil
ce3196e8dd Allows root to specify a MAILTO and have the security report mailed to
the same user as the daily output.  If $USER is not root or MAILTO is
not set, MAILTO is set to root.  Closes PR 2409.
1997-07-11 00:36:55 +00:00
drochner
d9dfde6362 Mount only "/" at the beginning (instead of all non-NFS filesystems).
This makes that the ordering of fstab is used for mounts which is
a) more intuitive and b) needed if {mfs,union,...} on top of NFS
is wanted.
1997-07-10 13:43:14 +00:00
mikel
34164c8eea make toor's shell explicit to shut up /etc/security 1997-07-10 06:38:35 +00:00
veego
0307359cda Added new device entries for ipfilter: /dev/{ipnat,ipstate,ipauth} 1997-07-07 22:29:35 +00:00
veego
a902cc2ba7 Added a new device entry for ipfilter: /dev/ipauth 1997-07-07 22:26:51 +00:00
christos
ea18ad7974 Run ntalkd as nobody.tty 1997-06-29 19:20:20 +00:00