Commit Graph

1562 Commits

Author SHA1 Message Date
christos e597a72d0b Use cat -f to avoid denial of service attacks by people who make .rhosts
files fifos.
2000-01-15 01:15:12 +00:00
pk 49b3458319 Expand `instfs' to 1.8MB. 2000-01-14 13:50:11 +00:00
nisimura 12291ad31f Add raidframe and fix bozos and typos I made.
-
2000-01-13 01:06:24 +00:00
ad 645ee40728 - Make /etc/daily run /etc/daily.local if it exists. Make similar change for
weekly and monthly scripts.
- Update FILES section in manpages.
2000-01-10 17:03:49 +00:00
deberg bb0e1548bf gc unused mac68k devices 2000-01-10 02:25:25 +00:00
itojun 72a5ed2e26 allow "sh MAKEDEV ttyNN", where NN is 00 to 99.
single-digit "sh MAKEDEV ttyN" works in backward-compatible way.
XXX should bring it to other ports as well?
2000-01-09 02:37:06 +00:00
enami b07199995f Since the logger(1) puts space between its arguments, there is no need
to pass it explicitly.
2000-01-07 05:53:21 +00:00
jeremy 534cb8a841 Changed to reflect that VGA console works better as 'pc3' terminal type
than as 'vt100'.
2000-01-07 05:28:21 +00:00
enami f7c074aa48 Make sure that warning message starts from the beginning of line. Some
warning recently added didn't care about it.
2000-01-07 05:25:45 +00:00
enami 96e5a9b3d5 Cosmetic changes; folding long lines, using tab instead of spaces where
appropriate and fixing some indentation.
2000-01-07 05:11:43 +00:00
enami b614ae7a89 Use %d instead of %e to generate rdist log filename using date(1) so that
the resulting filename doesn't contain white space.
2000-01-07 03:52:23 +00:00
simonb c338a5ade3 Remove "miniroot" and "install-ramdisk" entries altogether - we'll
reference local disktab files in distrib/pmax.
2000-01-05 23:47:41 +00:00
simonb 3b40504351 Make "miniroot" 2MB and add a 3MB "install-ramdisk" entry. Add comments
to both of these referring to which Makefile in src/distrib/pmax they are
used in.
2000-01-05 13:05:15 +00:00
nisimura 95d00ea75d Introduce NetBSD/luna68k port into CVS repository. 2000-01-05 08:48:53 +00:00
lukem 44ec789012 don't need to background xfs now that it auto-backgrounds itself... 2000-01-04 05:20:51 +00:00
msaitoh d732fa1812 etc files for mmeye 2000-01-02 10:04:26 +00:00
windsor f2672a9b29 We need to put /usr in critical_filesystems_beforenet since rc.subr
("mount_critical_filesystems local") makes no assumptions about /usr.

Under certain (semi-normal) conditions, /usr is never mounted until
"mount -a" late in rc(8), and This Is Bad.
1999-12-31 04:42:02 +00:00
hubertf cabb78b63e Add share/examples/apm/script, an example script to put into
/etc/apm/{line,battery,standby,...}
1999-12-29 04:16:21 +00:00
minoura d30b9ad39c installation/* are copied in `make release'. 1999-12-24 17:03:34 +00:00
fredb 0b330f40c5 Make nomenclature more sensible: INST_KERNELS -> EXTRA_INSTALL_KERNELS,
and pass it through to the instkernel/Makefile release target.
1999-12-24 15:14:29 +00:00
windsor 623ede0b32 nit-picking spaces at EOL 1999-12-23 15:07:21 +00:00
abs be53038389 Consistency nit - use X11 in all comments not sometimes x11 1999-12-23 12:22:13 +00:00
augustss c2ca3a16f3 Add a comment about the ifconfig_xxN variables. 1999-12-22 22:55:49 +00:00
itojun ae444c9104 flip "if" order in IPv6 initialization, avoid calling /bin/test.
From: soda
1999-12-20 15:51:14 +00:00
itojun c7a34c1de0 check for IPv6 kernel by exit status of "ifconfig lo0 inet6".
now IPv6 portion of netstart does not require /usr mount, it will mount it
as necessary (like pppd configuration do).

thanks goes to christos for the tip.
1999-12-20 15:12:23 +00:00
itojun 6badb9eb2b add comment about IPv4/v6 dual stack support (enable both tcp and tcp6). 1999-12-20 12:43:17 +00:00
tsutsui e2c4e62e16 Correct md* entries. 1999-12-18 03:09:44 +00:00
fredb d0955f732b Add goo to build instkernel for mac68k as part of "make release". Actually,
multiple install kernels, by setting INST_KERNELS in /etc/mk.conf or the
environment, or on the command line. "INSTALL" is always added to the list.
1999-12-17 20:54:31 +00:00
drochner 2ab76be062 Add the "ig" directive to the PC console entry to avoid escape sequences
confusing the terminal. Should fix PR lib/8993 by Pierre Bourgin.
1999-12-15 17:34:00 +00:00
garbled a2f13ea762 Create devices for apm, apmctl and tctrl0 1999-12-15 09:17:24 +00:00
christos 47523083ea support fully qualified machdep names. 1999-12-15 05:23:13 +00:00
christos 2c7fa0c23b Pick up a machine dependent ld.so.conf 1999-12-13 10:19:32 +00:00
christos a87378c54a Prototype file that selects i387 if the fpu is present. 1999-12-13 10:17:49 +00:00
tsutsui 50d43dc788 Initial import of news68k port. 1999-12-09 15:10:37 +00:00
itojun 2dded70ce5 avoid transmitting invalid IPv6 packets out to the wire. 1999-12-09 14:18:07 +00:00
simonb faba922c92 Make ./etc/skel and ./usr/share/examples/usermgmt with mtree, and don't
create the directory in the user(8) Makefile.
1999-12-06 22:44:47 +00:00
abs 2d6fbd2789 Default to -z in savecore_flags 1999-12-06 20:38:13 +00:00
minoura e90bd819cd Create pty0 in install floppy. sysinst does use ptys. 1999-12-05 15:38:58 +00:00
ad 604db10508 - Add '-F' option which forces rotation of logs (from FreeBSD).
- Add 'sigtype' field specifying signal to be sent (from FreeBSD).
- Add 'N' flag which specifies that no signal should be sent.
- Fix some breakage.
1999-11-30 12:03:24 +00:00
itojun c683c60c73 recommend use of multi-line /etc/ifconfig.xxN than /etc/ifaliases, or
$ifaliases_xxN in /etc/rc.conf.
(no behavior change in /etc/netstart, comments only)

see recent tech-userlevel for discussions.
1999-11-29 01:40:33 +00:00
scw 4eab2b28e4 Add directories for mvme68k MD man4 pages. 1999-11-28 17:32:16 +00:00
hubertf 7bf20269f9 Add some boot time warnings:
- if ypserv=yes but portmap=no
 - if yppasswdd=yes but ypserv=no
 - if nfs_server=yes but portmap=no

Per discussion on tech-userlevel@netbsd.org.
1999-11-23 15:12:43 +00:00
lukem acc78cad94 accounting should be controllable via $accounting=YES in rc.conf... 1999-11-23 08:05:04 +00:00
christos 4dfd4a92a4 Disable rhosts check for now. Someone could stick in a fifo between the
-f .rhosts and the grep, and then we would get stuck.
1999-11-18 02:35:54 +00:00
fvdl 0f6157b181 Remove update, it's no longer used. 1999-11-15 20:04:50 +00:00
pk c528d95e74 Remove unnecessary inclusion. 1999-11-14 16:23:36 +00:00
drochner cae6f4efba add a comment why screen 0 is commented out and when to uncomment it 1999-11-10 16:34:08 +00:00
he eafd8f707f Provide some more automation in the "make release" process. Also build
and install:
 o INSTALL and INSTALL_TINY kernels (for boot floppy images)
 o GENERIC_TINY kernel
 o Boot floppy images
Ideas borrowed from etc/etc.sun3/ setup.
1999-11-09 00:22:39 +00:00
erh 145c0fee52 Ignore blank lines in ifconfig.* files. 1999-11-08 09:29:24 +00:00
mycroft 6c011bf076 Install root's .shrc. 1999-11-05 11:31:40 +00:00
mycroft c43c81eec7 (Ab?)use some sh(1) features:
* Put the aliases in a separate file, referenced by $ENV, so that they're
  present in subshells.
* Do the same to make `set -o emacs' happen automatically in interactive
  shells.  (Yay, line editing by default!)
* Use `export FOO=bar' syntax, as it's shorter and other sh(1)-like shells
  all support it these days.
1999-11-05 11:30:13 +00:00
mycroft 80cfefa569 Disable portmap by default, and add some more comments in that section. 1999-11-05 11:19:49 +00:00
mycroft fbbc23fa6a Disable everything except ftpd and telnetd by default. 1999-11-05 11:16:20 +00:00
fredb 2fad6a7a8e Make cfs0 for Venus/Coda file system, by default (PR 8625). 1999-11-05 09:57:06 +00:00
leo 165e56a44b Add the audio devices. 1999-11-03 14:02:07 +00:00
frueauf 1299db6b8b Use checkyesno to check the state of $rc_configured like for any other
variable set in /etc/rc.conf. Pointed out by Erik Bertelsen
<erik@mediator.uni-c.dk> in pr 8522.
1999-10-30 12:35:30 +00:00
lukem fe0c45f603 default for hosts has changed from `dns files' to `files dns' 1999-10-24 12:36:52 +00:00
perry ddcff2dcf5 Add an at.deny file by default, so that (by default) users can use at
and batch (as is historic practice, and as was our practice before
last year.) If someone wants to disable such use, they can just remove
the file.
1999-10-20 17:57:55 +00:00
dan 0860075c8b oops, wsmouse had same bad perms as wskbd 1999-10-19 23:19:38 +00:00
dan de4beb9532 Don't set wskbd* devices to 666, use 600 like every other arch, to
prevent random users remapping your console keyboard.
1999-10-19 22:26:52 +00:00
ad 652f0f8841 Back out previous 1999-10-18 22:41:23 +00:00
pk 569ef0062c Add sparc MD parts to `make release'. 1999-10-18 20:39:01 +00:00
tsubai 35133de28c Add com device. 1999-10-15 12:26:07 +00:00
phil bd6a470b1b Make the coda pseudo device cfs0. 1999-10-14 17:02:25 +00:00
sommerfeld 6e5d9aa87d Add -f /var/db/ntp.drift to default xntpd parameters. 1999-10-09 21:07:19 +00:00
hubertf 4fa18183d7 Install example dhcpd.conf into /usr/share/examples/dhcp 1999-10-09 15:33:36 +00:00
minoura 6ef8563aed Remove softcar from the example setting for dialup (commented).
(Thanks to Shuuichi Suyama <ghe02376@nifty.ne.jp> and msaitoh)
Use ttye0 for ITE instead of console.
1999-10-08 14:21:58 +00:00
ad 1acb6189fd Default terminal type of /dev/console is 'rcons'. 1999-10-06 22:47:58 +00:00
ad 993ac32fff Final chown user.group -> chown user:group changes. 1999-10-06 22:26:14 +00:00
ad 0cb212b1fe More user.group -> user:group pedantry (these are the loose ends). 1999-10-06 22:05:25 +00:00
ad 9438e96c3b More root.wheel -> root:wheel pedantry. 1999-10-06 22:01:56 +00:00
ad 7713e57181 The user:group field is optional, so put it in brackets like the other
optional fields.
1999-10-06 21:59:50 +00:00
ad 6933332596 Use a colon to seprate user and group name pairs. 1999-10-06 21:55:54 +00:00
ad cf5bc5acc8 Add [pidfile] to the description for last column. 1999-10-06 13:28:24 +00:00
ad d41c7fb2f8 Set a good example by using ':' to separate user/group names. 1999-10-05 12:12:39 +00:00
darrenr 918f986a0c move old dev_mkdb and "kvm_mkdb /netbsd" up into the section which builds
kvm_mkdb based on machdep.boot_kernel. also failover to "kvm_mkdb /netbsd".
1999-10-05 10:54:27 +00:00
ad d61e19af02 GENERIC kernel does not ship with IPv6, so comment out tcp6/udp6 entries. 1999-10-05 10:44:28 +00:00
darrenr e463468294 send sysctl machdep errors to /dev/null
merge in patches to implement multiple bootup configurations (look for
/etc/etc.current, /etc/etc.default and friends)
only start up NFS services if either nfs_client or nfs_server is yes.
1999-10-05 10:32:56 +00:00
bouyer eac2fbdb83 Add support for $defcorename 1999-09-28 14:53:17 +00:00
mjl e7795f36b9 Use sendmail.cf from $DESTDIR/etc instead of /etc for building the
aliases.db since that fails if we have a sendmail.cf installed that
has no MAILER(local) like nullclient.
1999-09-26 21:40:13 +00:00
bouyer 4ef94b0ae5 Add missing '/usr/share/man/man8/next68k' 1999-09-22 12:54:12 +00:00
hubertf bb9e6fa65a remove empty line 1999-09-21 14:25:46 +00:00
hubertf e6c3e8cd07 Add MAKEDEV.8 manpage for next68k. 1999-09-21 14:20:36 +00:00
veego 2199f8c078 Add /usr/share/{man,cat}8/bebox 1999-09-20 06:14:57 +00:00
hubertf 1728cf76bb fix up for automatically generated MAKEDEV.8 1999-09-20 00:22:17 +00:00
hubertf 9dbf4f790e edit for MAKEDEV.8 1999-09-20 00:04:17 +00:00
perry 80c605fb9b add cat8/hpcmips and man8/hpcmips
The person who added a man page for that section without adding the
corresponding directory should be lashed fifteen times with a wet
noodle. They broke the build.
If any other man pages are added for the sh3 and hpcmips ports, people
have to remember to add the corresponding directories to the mtree
files, okay?
1999-09-19 22:33:42 +00:00
hubertf 018c7b4f42 Tidy up comments a bit, to make the manpages generated from the a bit
nicer. Also, add a comment on how to re-generate the manpages if the
MAKEDEV file was changed.
1999-09-18 00:23:35 +00:00
takemura 2f85eb6142 Import NetBSD/hpcmips source files from hpcmips repository.
file list:
        sys/arch/hpcmips/
        distrib/hpcmips/
        etc/etc.hpcmips/
        lib/libc/arch/mips/fplib/
        lib/libc/arch/mips/fplib/Makefile.inc
        lib/libc/arch/mips/fplib/environment.h
        lib/libc/arch/mips/fplib/fplib_glue.c
        lib/libc/arch/mips/fplib/fplib_libc.c
        lib/libc/arch/mips/fplib/hpcmips-gcc.h
        lib/libc/arch/mips/fplib/softfloat-macros.h
        lib/libc/arch/mips/fplib/softfloat-specialize.h
        lib/libc/arch/mips/fplib/softfloat.c
        lib/libc/arch/mips/fplib/softfloat.h
        lib/libc/arch/mips/gen/ieee.h
        lib/libc/arch/mips/gen/sf_fabs.c
        lib/libc/arch/mips/gen/sf_flt_rounds.c
        lib/libc/arch/mips/gen/sf_fpgetmask.c
        lib/libc/arch/mips/gen/sf_fpgetround.c
        lib/libc/arch/mips/gen/sf_fpgetsticky.c
        lib/libc/arch/mips/gen/sf_fpsetmask.c
        lib/libc/arch/mips/gen/sf_fpsetround.c
        lib/libc/arch/mips/gen/sf_fpsetsticky.c
        lib/libc/arch/mips/gen/sf_isinf.c
        lib/libc/arch/mips/gen/sf_ldexp.c
        lib/libc/arch/mips/gen/sf_modf.c
1999-09-16 12:13:17 +00:00
darrenr 50e510e367 If machdep.booted_kernel can be found in sysctl output, feed that name into
kvm_mkdb so that when we boot we always have an upto-date kvm db, allowing
dmesg and friends to run without error when we do "boot netbsd.fun" to test
kernels, etc.
1999-09-16 11:00:44 +00:00
sommerfeld ef22c28d6f Use ${CONFIG} rather than config so cross-builds can correctly select which one to use. 1999-09-16 00:30:06 +00:00
augustss 62d46f73e8 Improve the USB comments. 1999-09-15 21:18:10 +00:00
is 4f2d454a07 Synchronize comments with reality. 1999-09-15 20:31:53 +00:00
itojun 8a0d5201d1 use sysctl -n to get numeric result, not awk. 1999-09-06 18:52:33 +00:00
perry 4220708c27 We already had logic not to try to grab the disklabels of md's and
fd's -- add cd's to the list.
1999-09-05 15:11:42 +00:00
itojun 02972f5985 add sanity check on rtadvd invocation (allowed on IPv6 routers only).
add rc.conf entry for rtsold.
1999-09-03 13:40:15 +00:00
tsubai 5d7288c24d Increase md size to 2MB. 1999-08-28 16:49:49 +00:00
christos 4de82f14e2 check if vi recovery files are regular files before trying to e-mail them.
Stops a denial of service attack where the user can put a named pipe or
any other device that blocks i/o in /var/tmp/vi.recover/recover.*
[from dynamo@ime.net]
1999-08-28 03:39:59 +00:00
augustss bcf1e2dcad Add a comment about ttyU*. 1999-08-27 14:13:32 +00:00
augustss 22bead680a Define the callunit variable for ttyU*. 1999-08-27 14:10:51 +00:00
augustss 082fa5a748 Move ttyU* before tty*, otherwise it will not work to make ttyU device nodes. 1999-08-27 14:06:05 +00:00
augustss 5ca2c8ac27 Make creation of wsmux devices a little less confusing. 1999-08-25 23:06:46 +00:00
is f9a2f82b87 Add off entries for serial boards 1999-08-25 20:53:15 +00:00
is 193cb891af switch ttye* off, and switch /dev/console on.
This way:
- screenblank works
- we don't need to change ttys just to get console login working.
1999-08-25 20:37:10 +00:00
simonb b729f2c755 Use ${INSTPRIV} with ${INSTALL}. 1999-08-21 06:27:29 +00:00
augustss 243ba7a176 Rename umodem to ttyU. If it walks like a tty and quacks like a tty
it's a tty.
1999-08-17 20:06:57 +00:00
augustss db574ba708 Add umodem device. 1999-08-16 22:27:08 +00:00
is 79de537d1c Screenblank has supported more than sun3 and sparc for a long, long time. 1999-08-16 20:01:03 +00:00
bgrayson 7804500eab Added new directory for mount_portal examples 1999-08-16 06:31:08 +00:00
christos 6bac342db0 Create temp _motd file in /etc 1999-08-05 20:51:57 +00:00
mrg 4daf634ae3 - use -msafer not -S; this is more portable and will work with any
nroff that has the "safer" macros installed.
- correct entry for ".me" that was broken in the previous.
1999-08-02 10:43:30 +00:00
matt 8e2f403f42 Add ttyC? devices for com devices. 1999-07-31 00:00:03 +00:00
aidan 8fd15316c9 Forgot /usr/include/ss (for krb5). 1999-07-30 19:40:25 +00:00
aidan b9070123b4 Kerberos5 install paths. 1999-07-30 19:25:19 +00:00
augustss 0336dc8e2c Add mux 1 as a keyboard. 1999-07-29 19:26:08 +00:00
augustss 595da53663 Make wsmux devices. 1999-07-29 19:24:37 +00:00
abs 42a7d5014d Add some DHU-11/DHV-11 lines - from bdc@world.std.com 1999-07-28 00:58:14 +00:00
tron a992b9baef Fix PR security/8069 differently:
Add a new option "-S" to "nroff" and use "nroff -S" instead of "groff -S"
because "nroff" adds some other (moderately useful and important) options
to the "groff" execution.
1999-07-26 19:31:53 +00:00
tron 3a0a25ad87 Use "groff -S -Tascii" instead of "nroff" to avoid security problems
if "man" is used by "root". Fixes PR security/8069 by Matthias Buelow.
1999-07-26 18:42:21 +00:00
abs 1955b0db93 Put back pcs750.bin entries that were deleted in an overzealous cleanup 1999-07-25 04:23:49 +00:00
ender 75fd3e78bb From Dave Huang (khym@bga.com) in PR 8059: the MAKEDEV script was trying
to create ttyNN as the dialout device instead of dtyNN.
1999-07-25 00:47:40 +00:00
mrg 7cd460ef5e add openssl config, include and examples directories. 1999-07-23 01:04:02 +00:00
is 805851f4c7 Provide a script to compute the distribution set checksums.
Make the Makefile use it, instead of calling cksum manually.
1999-07-22 20:10:16 +00:00
wrstuden 3b55c25ad2 Teach both mac68k and macppc to create dialout devices. Modeled after
etc.i386/MAKEDEV's support.
1999-07-22 18:46:26 +00:00
hubertf 8b10c79f68 Use standard variable "$0" for the whole line instead of the non-standard,
undocumented "$LINE".

Submitted in PR 7041 by Greg A. Woods <woods@weird.com>
1999-07-22 00:47:50 +00:00
mycroft b28948e638 Make an aliases.db file when we install the aliases file. 1999-07-21 06:51:30 +00:00
abs bb69dd0964 bind comes with a very helpful sample named.conf, so install it in
/usr/share/examples/named. I'm not overwhelmed about moving the file
into src/share/examples but there is prior art (amd).
1999-07-19 02:30:43 +00:00
itojun 47b0e5ff1d IPv6 support. 1999-07-12 20:17:09 +00:00
tron 735b324857 Add "audio" target to create links "audio", "audioctl", "mixer" and
"sound" pointing to the first unit's device nodes.
1999-07-12 09:33:59 +00:00
drochner db20439533 repair diskless startup: "netstart" needs "sysctl" and "awk" now, thus
"/usr" must be mounted. mount_critical_filesystems() didn't mount it,
even if listed in "critical_filesystems", if it is nfs.
Solution: introduce another rc.conf variable
"critical_filesystems_beforenet" which contains filesystems to be mounted
before "netstart".
Perhaps "netstart" should be split up, but this would make things even
more complex...
1999-07-07 21:24:56 +00:00
fvdl ec3e468086 sparc and i386 do not have ld.so.conf anymore now that they're switched
(or about to switch) to ELF.
1999-07-04 22:11:06 +00:00
abs 5dd420a030 Add ipl and raid to 'MAKEDEV all' 1999-07-04 16:01:55 +00:00
abs 64532f71cf Add 'ipl' to 'MAKEDEV all' 1999-07-04 16:01:04 +00:00
itojun a7e88d2896 hide sysctl error messages to stderr (on checking IPv6 config values) 1999-07-04 12:51:30 +00:00
itojun 1f8a1d54df remove echo statement (was mostly for debugging). 1999-07-04 05:20:52 +00:00
hubertf 5c3edd7b4b RCS Id police 1999-07-03 20:50:39 +00:00
itojun 3c322b415a comment out sample entry. document it a bit.
From: Hubert Feyrer
1999-07-03 18:09:47 +00:00
itojun 7dcdb97971 remove unnecessary sleep (for DAD wait) in IPv6 configuration. 1999-07-03 03:40:52 +00:00
itojun 94e64335b4 add IPv6 configuration (ip6forwarding, rtsol, route6d and rtadvd).
Right now netsetart does not bother you even if you do not have
"options INET6" in the kernel.
1999-07-03 03:29:29 +00:00
itojun 134b5f49f2 rtadvd: advertise IPv6 prefix info via router advertisement.
(to be run on routers)
1999-07-02 09:28:16 +00:00
itojun 90db061921 add telnet on tcp6. 1999-07-02 06:32:32 +00:00
itojun 5202885909 provide sample lines for IPv6 services (at this moment ftpd and fingerd) 1999-07-02 06:05:21 +00:00
ross 59c991a23e Document BUILD_KERNELS. 1999-06-30 18:42:03 +00:00
ross 6e3b6566ce * Define INSTALLATION_DIRS and BUILD_KERNELS.
* Build in src/distrib
* Call the new release targets in src/distrib/{alpha,notes}

Note: The notes installation command is MI and should eventually move
      to somewhere in ../Makefile
1999-06-30 18:39:37 +00:00
augustss aed7c5dbd9 usbd is dead. 1999-06-30 06:48:05 +00:00
abs 87d31b1197 Move 'random*' before 'ra*'. Now 'MAKEDEV all' works. 1999-06-27 20:06:48 +00:00
abs 4ab98c0660 Move 'raid*' before 'ra*' in case statement to avoid false match of ra*
against 'raid{0,1,2}'.
1999-06-27 20:01:49 +00:00
cgd 36f7421c84 the memory disk ('md') driver is just the standard machine-independent
driver.  Therefore, create and name its device nodes in the normal way.
1999-06-27 00:17:31 +00:00
cgd 3a7a276df9 sysinst won't work without ptys on the ramdisk image. (*sigh* How
well was sysinst tested for 1.4...)
1999-06-26 22:58:06 +00:00
cgd fe0ddd929f oops: also need to update the geometry 1999-06-26 07:33:23 +00:00
cgd ddb7bb9480 since all of the arm32 kernels provide 3400 blocks of ramdisk space, we
ought to use it (and not just 3200 blocks).
1999-06-26 06:50:20 +00:00
minoura c3d7eff366 Change permission of grf, mouse, kbd to disallow access by no-root users. 1999-06-25 15:11:02 +00:00
frueauf d14a108b4c we have no group root by default, set gname=wheel for include. 1999-06-23 17:12:15 +00:00
simonb 55d7fbaef8 Change /etc/mtree/special and /etc/sendmail.cf to mode 444, and
/usr/include to owner:group root:wheel, to match how these files
are shipped in a distribution.

From PR misc/6736 from Soren Jorvang.
1999-06-18 05:06:45 +00:00
cgd ce030a27e0 ptys should not be marked secure. 1999-06-18 04:57:01 +00:00
abs f85ff94580 Don't don't don't assume /usr/bin/id is always present. Loses in single user. 1999-06-15 05:44:22 +00:00
christos 412733582c typo 1999-06-09 01:45:49 +00:00
christos efffa3db54 Make sure fd is a directory before we df it. 1999-06-09 01:39:29 +00:00
leo ff1d4cab4a Add FALCON to EXTRA_KERNELS. 1999-06-07 14:44:46 +00:00
is 7658a91815 Create *wd[23]? device nodes, so that machines with more than two IDE
drives can be installed.
XXX The 1.4 single-floppy install has only 24 free inodes, but 32 are needed
by this. Some more work is needed (e.g., change newfs parameters for the
ram disk, or switch back to a 2-floppy install).
1999-05-31 11:14:07 +00:00
christos 364d5a1432 Correct the dhclient startup to follow the standard indentation style 1999-05-28 21:01:42 +00:00
christos a3f17d2959 Don't barf when we have fdesc mounted. Just skip the devices fdesc provides 1999-05-28 21:00:50 +00:00
gwr 93720b922f Define our own snap_kern target that builds all the kernels, but
does not install the un-patched ramdisk kernels.  The snap_md_post
target builds the installation ramdisk image, patches that into the
ramdisk kernels, and installs them.  Also the miniroot.
Automated snapshot build works now.
1999-05-21 04:02:02 +00:00
gwr 551aad7b51 The snap_kern target is not sufficiently flexible.
Allow Makefile.in to provide its own.
1999-05-21 03:45:50 +00:00
lukem 1e4c25754e * document `shells' default (suggested by cgd)
* for each database, list supported sources (it's useful to know)
1999-05-19 02:25:14 +00:00
jwise 2fe3ffc188 Modify (commented out, pre-existing) identd line to start identd `nowait'
for those who want to use tcpwrappers appropriately.

Resist temptation to add -L"something appropriate"
1999-05-18 22:20:07 +00:00
gwr a9233886c4 Increase ramdisk size 1999-05-18 07:51:34 +00:00
jwise 05bdcfc198 Minor wording change in a comment (also formerly known as -> formerly known as) 1999-05-18 03:30:02 +00:00
gwr f2a23c575b updates for the 1.4 release 1999-05-17 03:35:55 +00:00
drochner 6e4e1ddc27 connect a keyboard to the display 1999-05-15 14:28:14 +00:00
ross 55adfd0a58 Support a second tape and cd drive on installation ramdisks. 1999-05-13 22:08:48 +00:00
is c889455b1c Add 4 lpt nodes 1999-05-11 20:45:38 +00:00
hubertf e845da9348 fix spelling 1999-05-08 01:09:09 +00:00
perry 7c5c9764b5 turn off ttyE[123] by default -- default installs don't configure them. 1999-05-01 00:23:27 +00:00
tv 56d7789c45 New systems should NOT ship with /usr/pkg/lib or /usr/X11R6/lib in
ld.so.conf.  (Frankly, new systems shouldn't ship with a ld.so.conf.) We
use rpath for that purpose now.  Unfortunately, 1.4 won't have this
change, so it will be in 1.4.1.
1999-05-01 00:06:20 +00:00
leo 7552438f3f Add the tty device-nodes on the install floppy. You'll need them for
slip connections.
1999-04-30 19:05:47 +00:00
perry 9c072e268f make -s flags for syslogd and lpd the default 1999-04-29 18:26:43 +00:00
ross bc05796ee2 Set console and ttyE? term types to vt100. 1999-04-29 01:26:15 +00:00
nathanw 5e40cf296d Move the knowledge that /usr and /var should be mounted early from
rc.subr to the default rc.conf.
While this is no longer necessary to supress noise,
it increases the clarity of the situation and removes
one more bit of what should be adjustable configuration
from scripts that site admins shouldn't have to edit.

Addresses PRs misc/7406 and (partially) bin/7491.
1999-04-28 23:32:29 +00:00
simonb bdd6ce47a7 Greatly simplify by doing the moral equivalent of
cd ../distrib/pmax && make install
1999-04-27 12:32:08 +00:00
simonb 31aebad029 + Build (but don't install) INSTALL and RAMDISK kernels.
+ Make installation/diskimage installation/netboot in ${RELEASEDIR}

+ snap_md_post depends on the diskimage, the diskimage tar file and
  the install kernel, and installs these into the right places in
  ${RELEASEDIR}.
1999-04-27 04:36:25 +00:00
simonb ae25beb28c + Put directories to create in ${RELEASEDIR} into a variable that
port-specific Makefiles can add to.
+ Separate snap_md into snap_md_pre and snap_md_post that are depended
  on before and after snap_kern.
+ Build all kernels listing in ${BUILD_KERNELS}, but don't put them in
  ${RELEASEDIR}.
1999-04-27 03:08:02 +00:00
ad eebf5c0180 Add code for creating pxN. px{0-2} are created as part of std. 1999-04-26 04:46:46 +00:00
abs adb6375b6b Add a 'ramdisk' target, and create ptys on both ramdisk and floppy
(Needed for sysinst).
1999-04-26 04:20:04 +00:00
dbj 51a0d74d06 fixed syntax for using an nfs mounted mfs partition 1999-04-24 19:57:11 +00:00
dbj 9e14da1db9 change default console terminal type to "unknown" instead of "dumb" 1999-04-24 19:20:46 +00:00
dbj 018f256ee3 Added example mfs /tmp in fstab
Added wscons entries in ttys, but leave default "console" enabled
since some hardware still uses the serial port console
1999-04-24 19:19:48 +00:00
ross 1c98ea4e2a +ttyEcfg 1999-04-23 18:45:50 +00:00
ross 5a6330ac23 typo 1999-04-23 18:14:29 +00:00
kleink 357a0baaf8 Get rid of old-style chown operands. 1999-04-23 08:20:28 +00:00
jwise 11f13fe80d Remove comment about critfs_requires_network, which has gone away 1999-04-21 21:58:29 +00:00
tron 3cc8bf22d2 Configure wscons much earlier so that a virtual console can e.g. be
used for "syslogd" output.
1999-04-13 07:40:53 +00:00
mrg ff5615a44f build ipfilter devices by default. 1999-04-13 06:45:36 +00:00
cjs 1a3bfc2c1b When checking local status, jJust ignore not-found filesystems, rather
than printing an error, just as we do when we try to mount it.
1999-04-13 02:15:49 +00:00
fair 31f06c6bd1 OK, adjust the kernel finder one more time to handle the case of a config
file that just does "include" GENERIC, and therefore has no "config" line.
It's simplest to assume that "netbsd" will be the result in that case.
Rather than duplicate config(8)'s parser in awk (or something), we should
adjust config to parse the config file and spit out the kernel names, and
then use that to replace this awk script thing.
1999-04-10 04:41:52 +00:00
fair 193be65e25 under "minimal" correct a tyop: wsbkd0 -> wskbd0 1999-04-09 22:22:17 +00:00
fair 0a40032913 Turn on building of A7000 CATS EBSA285 RISCPC SHARK kernels for releases. 1999-04-09 21:29:21 +00:00
mellon e6bc2dc3c6 Add a note about critfs_requires_network on dhclient line. 1999-04-09 15:18:51 +00:00
drochner 6b39fd9da6 add a comment explaining how "pcvt" fonts can be used 1999-04-08 10:58:36 +00:00
fair d023c654fd Slight tweak to the EXTRA_KERNELS build commands to work around a shell
parsing wierdness.
1999-04-08 08:24:44 +00:00
dante a6a272d18a Add "_crunch" section required by catman to crunch compressed cat pages. 1999-04-04 11:02:09 +00:00
mycroft 0d59551634 Avoid using id(1), as this loses when /usr isn't mounted. 1999-04-04 09:58:57 +00:00
fair 5048fc1b17 NetBSD's very clever kernel build system can make more than one
kernel per config file and the resulting kernel need not be named
"netbsd"; therefore paw through the config file after the kernel
builds are done, find them all, and put them where they belong per
release(7). This all done with some clever awk/sh scripting, from
PR 7180 by David Forbes.
1999-04-04 09:57:11 +00:00
fair 2f7a39463f Create /var/log/aculog with appropriate permissions, per PR 6675 1999-04-03 09:40:38 +00:00
fair 252a967372 Change to make ownership of /var/msgs "daemon" per PR 6672 1999-04-03 09:36:04 +00:00
cjs 668efbbcec Change mount_critical_filesystems() so that if given an argument
of "local" it will not mount filesystem types it identifies as
network file systems (currently just nfs). Call the function twice,
before networking starts with arg "local", after networking starts
with arg "network". Remove critfs_require_network as is now redundant.
1999-04-01 03:58:44 +00:00
hubertf b779dad4d4 Add hup, ll and x shell functions similar to the aliases in dot.cshrc
plus set the prompt. Tested with /bin/sh and /bin/ksh.
1999-03-30 02:36:05 +00:00
perry 7824e2333c NO_POSTFIX should have been BUILD_POSTFIX with reversed sense. 1999-03-29 16:40:44 +00:00
simonb e8d9f12b08 Add a NO_POSTFIX check to allow \'make distribution\' to work. 1999-03-28 21:31:11 +00:00
mrg 3018f8d67b postfix support. 1999-03-27 05:17:08 +00:00
mrg b4bf620b49 add postfix 1999-03-27 05:13:55 +00:00
abs 4fc0cc79b3 If we have an 'operator' user, it should at least be gid operator. 1999-03-27 03:51:41 +00:00
perry e75fc73f95 add postfix uid/gid, maildrop gid 1999-03-27 01:44:37 +00:00
drochner 4603b8460d start xdm after wscons configuration - the X server might want an own
virtual screen
1999-03-26 13:45:47 +00:00
sommerfe 5a90dbf495 Add dhcrelay startup (allow only if dhcpd isn't started) 1999-03-26 13:10:17 +00:00
ender 3423145ca4 Add md0 to the raminst target. 1999-03-26 08:45:25 +00:00
mrg 202cdd3fa1 build audio[0123] links. 1999-03-26 04:37:29 +00:00
oster 9fe0d93bdb Nuke the line 'raidctl -r raid$dev'. a) The '-r' option is now '-i', and
b) with component labels and clean-bits working, this shouldn't be
required at all on each boot!  Thanks to Andrew Gillham for pointing this out.
1999-03-26 01:11:45 +00:00
lukem 29fbd4fd08 change user `nobody's group from 9999 (non-existant) to 39 (group `nobody').
from Soren S. Jorvang <soren@t.dk> in [misc/6806]
1999-03-25 07:00:43 +00:00
dbj cb9aa929b6 add ttyEcfg 1999-03-24 23:46:37 +00:00
drochner d8f89f1b7b install wscons.conf 1999-03-24 20:12:21 +00:00
mellon 61b6b3bfec - Support dhclient and dhclient_flags rc.conf variables.
- Start dhcp client if dhclient==YES.
1999-03-24 19:03:10 +00:00
mellon 8572695519 - Move critical filesystem mounting code into a shell function and put
that in rc.subr.
- Support critfs_require_network rc.conf variable.
1999-03-24 18:59:47 +00:00
mellon fce1081120 Add critfs_require_network, dhclient and dhclient_flags variables. 1999-03-24 18:50:07 +00:00
tsubai 18e25765c1 Add ttyEcfg. 1999-03-22 14:05:34 +00:00
mark 6ba6fa5b90 Add ttyE? lines for wscons. 1999-03-22 10:25:52 +00:00
mycroft 8e621ce2ee Add MIDI and sequencer devices. They seem to work, even. 1999-03-22 07:52:56 +00:00
mark 0d8649853c Add the ttyEcfg devices and create the wscons devices as standard. 1999-03-20 03:00:20 +00:00
perry 835e4d99ed change to new syslog socket. make symlink from old to new location, too. 1999-03-19 00:35:44 +00:00
wrstuden ee6f8c2579 Add a commented-out duplicate id checker which doesn't exclude toor, and
add a comment saying how to switch it on.
1999-03-17 19:11:05 +00:00
drochner 1cc109aa7d rc.wscons can take arguments, so we shouldn't simply source it but exec in
a subshell. Being here, add a prototype wscons_flags variable.
1999-03-17 15:49:47 +00:00
wrstuden 56fe49bc20 toor is back, disabled by default as before. 1999-03-17 03:01:54 +00:00
wrstuden d32be9a273 Modify duplicate user id check to exclude "toor". Any other uid 0
accounts will generate a message with that (those) account names, root, and
toor present in the list.
1999-03-17 02:58:11 +00:00
jonathan 9380518844 Revert to status quo ante (root's shell is csh, per BSD tradition),
pending the proper procedures for making such a change.
1999-03-16 23:24:02 +00:00
mark 5d88663f76 Add the dty (dialout) device nodes for the serial driver. 1999-03-16 11:00:46 +00:00
fair 7153b55a87 Fix PR 5068 - scanning ~user/.rhosts files on NFS mounted home
directories with -maproot=nobody on the server. The argument to be
made is that if NetBSD's root can't read these files, it shouldn't
try to check them.
1999-03-16 06:18:17 +00:00
drochner 294d60fff0 Make wscons configuration nicer: split database and configuration script.
From Matthew Green.
1999-03-15 22:02:24 +00:00
hubertf 3f7861830b This was not intended to be committed - back out. 1999-03-15 16:42:46 +00:00
hubertf 8613009f6a Give root a Bourne shell. 1999-03-15 16:36:38 +00:00
abs eb710b1b56 It was just Plain Wrong to ship a password file that triggers /etc/security.
Remove toor - if people want another root account, we'll assume they can
copy and modify the root line.
1999-03-14 20:11:06 +00:00
drochner 0fc97689ec introduce a "wscons" rc.conf flag and run /etc/rc.wscons from /etc/rc
if it is set
1999-03-14 14:04:40 +00:00
drochner b0d64df6ba first cut on a wscons configuration script
(to be included in / sourced from rc.local)
1999-03-13 14:54:22 +00:00
scottr a443f8c15c Make the includes and install targets consistent, and shove the
ugly hack into the etc/Makefile distribution target instead of
the top-level build target.  Problem noted by Mycroft.
1999-03-10 19:10:14 +00:00
he 1fad0940a8 Need pseudo-ttys on INSTALL disk now (due to sysinst). 1999-03-09 19:31:00 +00:00
cjs 34d3f1c35f Add comment that release is a synonym for snapshot, and make release
present everywhere snapshot is.
1999-03-08 02:37:56 +00:00
mycroft 73230d62d0 Only install ld.so.conf on machines where we install ld.aout_so. 1999-03-05 07:21:44 +00:00
abs 93466b768a /var/spool/ftp/pub (if present) is better 0775 thane 0777.
From Paul Goyette <paul@whooppee.com>
1999-03-05 05:54:23 +00:00
abs 33403acaba If ppp_peers is set, ensure /usr is mounted since pppd is in /usr.
(Modeled on rc.lkm setup)
1999-03-02 23:10:17 +00:00
scw f4db3c5d7a Add target for raid devices. 1999-02-27 17:57:31 +00:00
tsubai cc2777e5d4 Add pty0 to "floppy". 1999-02-26 12:01:36 +00:00