Commit Graph

1029 Commits

Author SHA1 Message Date
Peter Wemm
4579c4e0d4 Update to use the recommended recovery procedure from nvi-1.76.
This is a lot more robust and handles errors a lot better.  It also cleans
up stray, hopeless, or unmodified files rather than leaving them there
forever.
1996-11-01 09:45:51 +00:00
Bruce Evans
ce5636f791 Fixed cualc and cualD minor numbers which I broke in the previous commit. 1996-11-01 08:49:13 +00:00
Peter Wemm
92a76e5c36 Add nvi-1.79 directories 1996-11-01 08:00:37 +00:00
Andrey A. Chernov
64cfb09a21 Log daemon.* to /var/log/messages or very valuable daemons messages
lost forever
1996-10-31 00:29:10 +00:00
Joerg Wunsch
a07ca43c89 Correct the startup sequence for syslogd:
. crate the symlink for /dev/log if required, then
. remove the old socket (savecore might have already created it
  accidentally), then
. start syslogd.

(Btw., our test(1) misses an option to test for a socket.)
1996-10-28 08:28:02 +00:00
Peter Wemm
95e6becc12 Add rudimentry support for ifconfig'ing aliases at boot. Also allow
start_if.<if> to do all the work instead if so configured.  With examples.
1996-10-27 06:30:43 +00:00
Bruce Evans
fab5b1c43d Restored order of cuac above ttyc.
Fixed some style bugs for cua* and tty*.

Removed superfluous chmod for consolectl.

FIxed a tiny security bug for perfmon and changed the style for
perfmon to match the style of the non-std devices.
1996-10-25 15:01:33 +00:00
Marc G. Fournier
6e75e8c4bc fixes:
>Description:

        The sed script in /etc/rc.local that builds the host/kernel ID line
        for the message of the day relies on the year not going past 1999.
        When the year passes 1999, the ID line is malformed.

Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de>
1996-10-24 09:43:59 +00:00
Marc G. Fournier
e9aa958593 Fixes:
>Description:

        Applications that rely on getttyent and related calls will
        not find entries that are not listed in /etc/ttys.  Screen
        and xterm (rxvt, color_xterm) will not be able to obtain
        unique utmp slots as a result.  This isn't a critical problem
        but it will keep utilities such as 'finger', 'who' and 'w'
        from displaying the correct information.

Closes PR#conf/1270

Submitted by: winter@jurai.net
1996-10-22 21:17:05 +00:00
Stefan Eßer
d018c1a988 Add character device (78,0): pci
Submitted by:	wollman
1996-10-22 20:41:03 +00:00
Bill Paul
8d236c1206 Add hooks for rpc.ypxfrd in /etc/sysconfig and /etc/rc. Also change
a couple of benign cases of 'yppasswdd' to 'rpc.yppasswdd.' (Like
rpc.yppasswdd, rpc.ypxfrd should only be run on NIS master servers.)
1996-10-21 20:09:30 +00:00
Alexander Langer
8ba20cc4bc Invoke weekly.local and monthly.local if they exist.
Suggested by:	jkh
1996-10-19 21:52:16 +00:00
Alexander Langer
b098da0842 If /etc/daily.local is present, run it just before the security check.
Closes PR#1822.

Submitted by:	John-Mark Gurney <jmg@nike.efn.org> (w/some changes)
1996-10-19 21:03:23 +00:00
Andrey A. Chernov
29d13b3b62 Add MM_CHARSET setting (MIME charset), it is good for tin, metamail, etc.
Add mesg y
All things commented out
1996-10-19 20:02:40 +00:00
Paul Traina
5afea8cfad Recent ppp changes broke make release. :-( 1996-10-19 17:10:28 +00:00
Jordan K. Hubbard
fddb6f46b4 Clean up the example files by giving them a unified set of names (which
I don't like, finding them rather redundantly named, but I'm just going
with the flow here).
1996-10-18 03:45:19 +00:00
Paul Traina
c27ebf26ac catch a mismatch after final review... 1996-10-14 17:27:53 +00:00
Paul Traina
972a3f282a Expose the control mechanism for serial console boot so that the default
shipped with freebsd can be changed without modifying the Makefiles directly.

Creates:	BOOT_FORCE_COMCONSOLE
		BOOT_PROBE_KEYBOARD
		BOOT_PROBE_KEYBOARD_LOCK
		BOOT_COMCONSOLE			(port value for console)
1996-10-14 17:25:53 +00:00
Joerg Wunsch
f738f84d69 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
David Greenman
4364e32501 Changed ttyc? and cuac? specifications to support multiple controllers.
A "MAKEDEV ttyc0" now creates 32 units for controller 0, ttyc1 for
controller 1, etc..
1996-10-13 01:12:01 +00:00
Nate Williams
c79a9ab9e5 Whoops, update the comment field while we're at it. (I *hate* the link
to freefall!)
1996-10-12 04:56:28 +00:00
Nate Williams
7387fdc643 In the same manner that we log the ipfw entries, log the kernel log
messages using the output of dmesg.
1996-10-12 04:51:09 +00:00
Peter Wemm
c99f65b4cc Add a -p to the amd invocation, it's not optional since we are expecting
the pid on stdout for /var/run/amd.pid.  The example in sysconfig had
forgotten -p anyway...
1996-10-08 20:02:57 +00:00
Peter Wemm
c42c124eb7 Some tweaks after having run a YP-only system with quotas:
- split the "starting network daemons" in half.
 - The first half starts things necessary to get full name service up.
 - The quota check etc moved from "before network" to after the name
   services are running.  quotacheck does a while(p=getpwent()) which
   isn't real good without YP running...
 - moved rwhod a little later to put it with the other network stuff.
 - deferred inetd a tad so that it's after ldconfig and dev_mkdb,
   otherwise you get logins before you're ready.

Unresolved: named is started before ypserv/ypbind still, but named does
a while(s = getservent()) and while (p=getprotoent()) to suck in the
entire database into memory.  This means you cannot have a "+" in the
/etc/services or /etc/protocols files or you get a long hang at boot.
1996-10-08 20:00:44 +00:00
Andrey A. Chernov
c849957cb0 Use full path for cvsup 1996-10-05 19:41:31 +00:00
Andrey A. Chernov
e110018119 Add CVSup block (commented out) 1996-10-05 18:51:45 +00:00
Andrey A. Chernov
16c55c107d Better users list 1996-10-04 20:05:13 +00:00
Peter Wemm
433ae96e90 Add /usr/share/libg++ for libg++'s genclass prototype/template class
files to live.  (These are not include files)
1996-10-03 21:44:47 +00:00
Peter Wemm
aaf2184b59 Add /usr/include/g++/std for the libstdc++'s #include <std/foo.h> 1996-10-03 21:42:41 +00:00
Paul Traina
9080596148 In the brave new world, that that does not make us strong, kills us.
Turn OFF the "small servers" by default.  FreeBSD systems should only
serve actively used programs.  Jewels like chargen and echo are too
useful in attack scenarios.
1996-10-02 03:52:58 +00:00
Warner Losh
b604753497 Fix a possible syntax error in rc when swapfile isn't defined at all.
This can happen when the user is upgrading from an older version and
his/her sysconfig file doesn't have swapfile defined to be NO in it.
1996-09-22 06:36:49 +00:00
Peter Wemm
b99929ea6b Remove SHARED_LIBCC_INT sample, it's gone and has been a do-nothing option
since the cc1/cc1plus backends were linked static some time ago.
1996-09-21 14:30:23 +00:00
Bruce Evans
102854f68f Fixed order and whitespace of examples/cvs entries. 1996-09-20 15:07:39 +00:00
Poul-Henning Kamp
6d26aec672 Add commented out example for bootps 1996-09-19 08:19:25 +00:00
Jordan K. Hubbard
b16ed18b72 Cosmetic tweak.
Requested-By: John Robert LoVerso <loverso@osf.org>
1996-09-18 19:01:29 +00:00
Paul Traina
ebcb9161de Add hylafax 1996-09-13 01:52:49 +00:00
Satoshi Asami
2fc8f6751d Add share/dict, following the lead of BSD.usr.dist. 1996-09-12 09:50:38 +00:00
John Fieber
7006eca8ae Remove obsolete subdirs of usr/share/sgml/FreeBSD. 1996-09-10 02:26:28 +00:00
Andrey A. Chernov
02601dae20 Remove sleep before moused, problem fixed with new consolectl device 1996-09-09 19:59:14 +00:00
Søren Schmidt
a41cbc45be Fix for the problem that moused hangs if it is started from /etc/rc
Introduces the /dev/consolectl device for controlling various
console related things (given syscons is used).
1996-09-09 18:47:47 +00:00
Andrey A. Chernov
df28808d40 Use real device for mousedport, because /dev/mouse usually linked
with /dev/sysmouse when moused is active
Add comment about this fact
1996-09-09 00:17:14 +00:00
Andrey A. Chernov
d71651da35 Use the same perm/owner for sysmouse as for others mouse devices 1996-09-09 00:02:44 +00:00
Andrey A. Chernov
814c1905ad Make sysmouse device for syscons 1996-09-08 23:56:27 +00:00
John Fieber
fe134be8f8 Add missing share/groff_font/devlj4 1996-09-08 16:24:41 +00:00
John Fieber
57a61c61a3 Add usr/share/sgml/transpec 1996-09-08 02:41:51 +00:00
Andrey A. Chernov
3306475ad8 Use /dev/mouse for default moused port
Add comment explanation how to turn mouse support on particular screen
(vidcontrol -m on)
1996-09-07 19:11:00 +00:00
Andrey A. Chernov
87dc1283f8 Make moused actually work:
add sleep 20 before moused starts.
It allows all getties to activate screens.
1996-09-07 19:04:48 +00:00
John Fieber
e80bb77a39 /usr/share/sgml/ISO for ISO entity definitions. 1996-09-05 20:01:09 +00:00
Adam David
e389e42669 don't ask for confirmation 1996-09-05 11:22:09 +00:00
Bruce Evans
35732dda77 BSD.usr.dist:
Added forgotten share/doc/psd/05.sysman and share/zoneinfo/America/Indiana.

bsd.doc.mk:
Nuked mkdir -p and wrong fixups of the leaf directory's ownerships and
permissions.  The doc tree should be well enough established for this
to be safe.  Installs to directories should use a trailing slash on
the directory name so installs to non-drectories are fatal, but I
didn't start changing them.

bsd.man.mk:
Nuked mkdir -p and wrong fixups of the leaf directory's ownerships and
permissions.  They were overkill to create just /usr/share/info.

zoneinfo/Makefile:
No changes yet.  zic creates directories with ordinary 755 permissions.
Why do we use 555 permissions for directories in /usr/share/zoninfo.
Why not for zoneinfo itself?  /proc and /dev/fd are the only other
directories in the system with 555 permissions.
1996-09-03 15:14:45 +00:00
Poul-Henning Kamp
0c4c6c1235 Add support for shlibs in /usr/lib/compat that the linker will not find
at compile time, but ldd will at runtime.
1996-09-02 13:10:02 +00:00
Andrey A. Chernov
192f27c84c Move daemon from group 31 to group 1
One of the reasons: rwhod not work, because it got
1,31 instead of 1,1 on setuid(1) and require group 1 for directory access
1996-09-01 23:13:16 +00:00
Wolfram Schneider
3668730386 add forgotten share/doc/smm/10.named 1996-08-31 13:04:03 +00:00
Chuck Robey
c8ae0d2e4b Add new include directories tcl, tcl/unix, and tcl/generic.
Reviewed by:	Peter Wemm
1996-08-29 16:07:58 +00:00
Paul Traina
28f0ced1ee Fix buffer overrun, and run as nobody 1996-08-25 21:37:11 +00:00
Paul Traina
0982f4916f Add zephyr 1996-08-22 21:37:19 +00:00
Satoshi Asami
cb9b679415 Add skkserv (1178/tcp) and sj3 (3086/tcp). They are both Japanese
kanji input servers.
1996-08-22 10:29:28 +00:00
Jordan K. Hubbard
d37f8acb71 Add a new "swapfile" variable so that you can add a file as a additional
swap as the system is coming up.
1996-08-21 23:15:37 +00:00
Jordan K. Hubbard
d0bcc248db Add cvsup directory to share/examples
Reminded-By: ache
1996-08-21 09:53:06 +00:00
Wolfram Schneider
7ea944f3a6 space typo, the shell don't like name=<space>value 1996-08-19 15:34:29 +00:00
Wolfram Schneider
4b2b2ee3e1 ``make install'' should not install the symlink /usr/sbin/rmt -> /etc/rmt
Only ``make distribution'' in src/etc/Makefile overrides things in /etc

Pointed out by: joerg
1996-08-18 11:05:08 +00:00
Wolfram Schneider
361e0905ef make install should not install any file in /etc. 1996-08-17 22:27:08 +00:00
Peter Wemm
e0d239dba3 Put on my flame-proof suit and attempt to make the /etc/motd banner
editor safer.  The old one was too deadly, if the blank line after the
"FreeBSD" version banner was missing, it would delete from the beginning
of the file up until the next blank line, possibly to the end of file.
This was not good.
1996-08-17 07:15:38 +00:00
Jordan K. Hubbard
38b411e309 Remove root dotfiles which did more harm than good. 1996-08-14 14:42:05 +00:00
Peter Wemm
67750f0be2 Add missing netatalk, netipx and netkey directories. 1996-08-11 04:32:14 +00:00
Wolfram Schneider
c394ce8c64 disable `calendar -a'. it's a bad idea, particular
with networked home directories

submitted by: "Boyd R. Faulkner" <faulkner@asgard.bga.com> and
              GAWollman (long time ago)
1996-08-07 13:35:29 +00:00
Paul Traina
c733dcc306 Move intermediary file generation to /var partition 1996-07-31 06:47:05 +00:00
Jordan K. Hubbard
1f2f069302 Edit this for consistency's sake (though it's syntactically identical).
Noticed-By: "William A. Gill" <bill@duchess.wagill.com>
1996-07-30 06:28:59 +00:00
Paul Traina
fd089c7bee Move things up a bit to make startup pretty 1996-07-18 19:09:06 +00:00
Paul Traina
54009bb4b8 Start sendmail after ldconfig. Put the nail in the coffin on misc/1346.
Submitted by:	Hiroharu Tamaru <tamaru@ap.t.u-tokyo.ac.jp>
1996-07-13 17:27:39 +00:00
Jordan K. Hubbard
3bc99bbcc2 Merge. 1996-07-13 04:33:23 +00:00
Wolfram Schneider
220927702b create missing /usr/share/examples/removeuser
Submitted by: Ollivier ROBERT  roberto@keltia.freenix.fr
1996-07-12 19:58:44 +00:00
Paul Traina
61ce6d635c Add amanda default port 1996-07-11 21:24:03 +00:00
Paul Traina
46720cfc9e Set shells to nonexistent where appropriate 1996-07-11 21:23:22 +00:00
Paul Traina
4ece9046e1 Add ability to override sendmail .cf file specification.
Add creation of ppp.log file since we rotate it now.
1996-07-11 21:22:50 +00:00
Julian Elischer
93e0e11657 Adding changes to ipfw and the kernel to support ip packet diversion..
This stuff should not be too destructive if the IPDIVERT is not compiled in..
 be aware that this changes the size of the ip_fw struct
so ipfw needs to be recompiled to use it.. more changes coming to clean this up.
1996-07-10 19:44:30 +00:00
Wolfram Schneider
c4a87a6a59 update comment for tun*
add comment for snp*
1996-07-02 23:11:06 +00:00
Alexander Langer
ef1b941ad5 If ipfw is enabled, display packet/byte counters for reject/deny rules
that have changed since the last security check.

Make the spacing between sections more consistent.
1996-06-30 19:35:20 +00:00
Peter Wemm
80ed784ffa If a local ufs filesystem is mounted "nosuid", dont scan it as part of
the /etc/security setuid checks.  This is useful for things like large
news spool partitions that dont have executables.

Reviewed by: pst
1996-06-30 13:16:21 +00:00
Peter Wemm
06903ddcd5 Correct location of tcl components.. They are installed under
/usr/libdata/tcl (created with mkdir -p), not /usr/lib/tcl (empty).
1996-06-30 13:06:50 +00:00
Jordan K. Hubbard
6a0f4b7e11 The way sendmail.cf is installed here is gross and needs to be totally
redone.  For now, use the objlink target to give it the obj directory
it needs.
1996-06-25 18:05:58 +00:00
Jordan K. Hubbard
2ad5760109 Add worm to /usr/share/examples 1996-06-25 08:40:13 +00:00
Paul Traina
22dde4b374 Start vi.recovery processing after ldconfig.
Closes misc/1346 which has bitten me more times than I care to remember.
1996-06-24 19:00:28 +00:00
Nate Williams
4012436276 Add the (commented out) OBJLINK hook. 1996-06-24 16:50:39 +00:00
Andrey A. Chernov
97f6903efd Add moused hooks (OFF by default) 1996-06-23 20:54:42 +00:00
Paul Traina
9852e6a655 Add /var/log/ppp.log from iij ppp 1996-06-22 21:34:03 +00:00
Joerg Wunsch
3be34f8291 Add a few hints about the cleaning policy of /tmp, including an example
(commented out) for how to purge it regularly.
1996-06-22 13:05:20 +00:00
Poul-Henning Kamp
d589bd24ad Add tcl related directories. 1996-06-22 06:02:47 +00:00
Alexander Langer
2df2f6af71 Flush out the rules before adding entries. This prevents duplicate
rules from appearing when switching back and forth from single to
multi-user modes.
1996-06-22 00:54:36 +00:00
Nate Williams
3e4742ef6a Remove the hardcoding of the IRQ, and instead have it determine a free
IRQ.

For now only enable on the 3C589 until other cards have been tested.
1996-06-19 01:28:07 +00:00
Jordan K. Hubbard
a17c962fd0 This is no longer in /stand 1996-06-15 17:49:16 +00:00
Jordan K. Hubbard
1a1fde273c Cosmetic tweaks. 1996-06-15 17:04:48 +00:00
Jordan K. Hubbard
38ee059aef Make an etc/rc.d directory. 1996-06-15 16:55:28 +00:00
Nate Williams
ee42451e19 Change the 'nep0' lines to 'ep0' since we are very soon to get a working
if_ep.c driver for PCCARD stuff.  Also,change the 3C589 examples to
reflect what I use to switch between the two connectors.
1996-06-14 21:41:48 +00:00
Andrey A. Chernov
62d543821c IDE cd fixes:
wcd?a is missing
wrong partition number was used for wcd?c
1996-06-07 15:47:15 +00:00
Paul Traina
602cb7a629 Eliminate warning message and add big warnings about security holes 1996-05-22 05:43:30 +00:00
Andrey A. Chernov
d7f1a3eb6a Remove obsoleted comment about adjkerntz 1996-05-19 22:30:26 +00:00
Nate Williams
0c9dbb91c3 Fixed *annoying* error with the weekly files. Do you get these whenver
/etc/weekly is run?

Rebuilding locate database: stty: stdin isn't a terminal TERM: Undefined
variable.

'su' apparently runs in root's environment before doing a seteuid(), so
it reads root's .cshrc.  The problem lies in the fact that $prompt is
*always* set by the time the command is executed, so you can't protect
your interactive commands from the non-interactive commands by the
normal:

if ($?prompt) then
   # interactive stuff here
endif

Set the -f flag (su -fm) which causes it not to read root's .cshrc file,
since there should be no reason to do so for these scripts since
/etc/crontab sets up all of the necessary environment.
1996-05-18 20:30:04 +00:00
Jordan K. Hubbard
b92bf7517c freefall's new sendmail.cf file.
Submitted by:	gpalmer
1996-05-17 07:47:34 +00:00
Wolfram Schneider
62824f4907 catman -> catman.local
This is currently a no-op, because a wisely man did not
enable catman by default (in comments).
1996-05-13 22:05:10 +00:00