Commit Graph

732 Commits

Author SHA1 Message Date
Satoshi Asami
2e43046bb6 Change "sysctl -nw" to "sysctl -w" to make the output more informative.
Reviewed by:	rgrimes
1995-06-25 09:35:56 +00:00
Bruce Evans
cc490fc73e Update a comment to match the 1993/12/03 change to `np' and fix some
punctuation.
1995-06-25 04:08:29 +00:00
Bruce Evans
20d4de8fd4 Optionally set the dump device. 1995-06-25 04:01:32 +00:00
Andrey A. Chernov
24af9b645e Rename ISO8859-1 to ISO_8859-1 per RFC1700 1995-06-17 03:37:18 +00:00
Andrey A. Chernov
d10e63cc74 Rename ISO8859-1 to ISO_8859-1 per RFC1700 1995-06-17 03:17:16 +00:00
Andrey A. Chernov
1064e529e5 Rename *.ISO8859-1 to *.ISO_8859-1 per RFC1700 1995-06-17 03:14:31 +00:00
Andrey A. Chernov
7c37167c74 Create share/nls/* for local-installed message catalog pgms 1995-06-17 02:51:03 +00:00
Andrey A. Chernov
75a962b5b8 Create missing nls/C 1995-06-17 02:49:53 +00:00
Rodney W. Grimes
709e8f9ae1 Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
Andrey A. Chernov
4a0ff33b55 Eliminate two Subject: from *ly output, call sendmail root directly 1995-05-27 01:55:21 +00:00
Andrey A. Chernov
ec25d6d6aa Use -b for diff, ls produce different number of spaces 1995-05-27 01:37:44 +00:00
Andrey A. Chernov
d55b3b5a2b Use proper PATH in front of monthly
Eliminate Subject duplication for insecure output
1995-05-27 01:31:40 +00:00
Rodney W. Grimes
694ae09c05 Reviewed by: sos
Submitted by:	bde

rc.i386 failed messily when I used a serial console.

Editors note:
Use file redirection so that all the kbdcontrol and vidcontrol
commands act upon /dev/ttyv0 instead of stdin.  Though this feature
is not documented it is the intended behavior of {vid,kbd}control
and shall be documented in the future as such.
1995-05-26 18:06:52 +00:00
Jordan K. Hubbard
2c3b28f96d Add tun0 to the all rule. 1995-05-18 10:51:03 +00:00
Rodney W. Grimes
843f16dc76 nogroup 32766 -> 65533 to go with nobody's change to 65534. 1995-05-17 10:02:07 +00:00
Rodney W. Grimes
3870d1b2f4 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
Rodney W. Grimes
978dabea51 Reviewed by: bde, jkh
Add comment that you should not have to edit netstart, and if you
do we would like to know about it.

The lo0 interface is now handled just like any other interface,
This makes it possible to do things to it from sysconfig.

Redo the comments in sysconfig about network_interfaces and ifconfig_${X}
to reflect the moving of lo0 to this scheme.  We now have an uncommented
variable for sysintall to find and play with.  (Your welcome Jordan)

Redo the way static routes are handled.  Basically use the same
scheme for routes that I did for network interfaces.  This allows
any number of static routes to be added from sysconfig.

Make sure we do the default route first so we stand a chance of
getting to our DNS server (if we have one) to resolve our own
IP address from $hostname.
1995-05-17 04:46:57 +00:00
Rodney W. Grimes
bbfba93794 The ``mount -a -t nfs'' should never have been backgrounded. If you
have non-critical nfs volumes in /etc/fstab they should have option bg
on them.  The behavior of the system is more tuneable this way, and
allows a slow mounting /usr over nfs to work.

Submitted by:	bde
1995-05-15 19:50:59 +00:00
Andrey A. Chernov
efc05b2bdd change nobody master.passwd entry to 65534:65534
change nobody group entry to 65534
Suggested-by: pst
1995-05-15 19:24:57 +00:00
Andrey A. Chernov
e95be7ca34 Change xten shell from /dev/null to /nonexistant, adduser
complaints instead.
Change nobody user group from non existent in /etc/group (9999) to
existent nobody (39).
1995-05-15 18:35:22 +00:00
Rodney W. Grimes
f8a6f4a227 Remove all /dev/'s from device names, they should all be relative
to /dev.  Putting absolute paths in here breaks the make release
process, and screws up testing of this script in other directories.

Submitted by:	bde
1995-05-15 09:44:10 +00:00
David Greenman
1469eec81e Fixed incompleteness that would allow dirty filesystems to get mounted
when the single user shell was terminated. These changes disallow mounting
or R/W upgrading filesystems that are dirty unless "-f" (force) option
is used with mount. /etc/rc has been modified to abort the startup if
one or more non-nfs partitions fail to mount.

Reviewed by:	Poul-Henning Kamp, Rod Grimes
1995-05-15 08:39:37 +00:00
Gary Palmer
64cecefe43 Clean up the matcd entry so it deletes the *matcdl* entries before trying
to create new ones.

Reviewed by:	davidg, rgrimes
1995-05-15 06:55:18 +00:00
Rodney W. Grimes
3d8e4b9338 Remove XXX comment that I had moved to netstart and forgot to remove from
here.
1995-05-13 20:16:11 +00:00
Andrey A. Chernov
4067631146 Change ln -sf to rm -f and ln -s, first one work incorrectly
for directories when called second time
1995-05-13 16:58:37 +00:00
Satoshi Asami
cbed30a5cf Add "include". 1995-05-13 12:07:08 +00:00
Jordan K. Hubbard
5469943802 Document the fact that almost all the user configuration stuff is now
in /etc/sysconfig, per Luigi's suggestion.
1995-05-11 21:11:17 +00:00
Jordan K. Hubbard
7b094c1c1d The lites web page has moved.
Submitted by:	rich
1995-05-11 20:39:36 +00:00
Rodney W. Grimes
a51ab5ce3b Reviewed by: wollman
Add a knob to make it easy to turn off RFC 1323 and RFC 1644 options.
1995-05-11 19:08:37 +00:00
Jordan K. Hubbard
4767b31211 Lower-case the name of the DES directory. Yes, it's an acronym, but DOS
is still dOs.

					Jordan
1995-05-11 05:22:29 +00:00
John Fieber
9381eca971 New directory for sgml tools: /usr/share/sgml
Reviewed by:	rgrimes
1995-05-09 23:06:59 +00:00
Jordan K. Hubbard
15e52edd61 secure -> DES 1995-05-09 00:15:30 +00:00
Andrey A. Chernov
75343e2589 Change 'rc' entries from 'r' to 'm', conflict with ptys 1995-05-07 23:04:03 +00:00
Satoshi Asami
884a677900 ttyq[0-9a-f] -> ttyp[g-v] 1995-05-05 10:06:34 +00:00
Peter Dufault
99d181f7a9 Make scsi control devices such as "/dev/rsd0.ctl". 1995-05-03 18:15:35 +00:00
Peter Dufault
b53e9e2751 Use the correct offset for LabPC digital devices. 1995-05-01 14:34:45 +00:00
Andrey A. Chernov
98a59e226e Add yet one popular russian code table 1995-04-30 14:45:00 +00:00
Jordan K. Hubbard
90e83ab7ee As a public service (and because I'd like to see more LITES people chose
FreeBSD), add mach-4 target to MAKEDEV; it creates various compatability
devices for Mach4.
Submitted by:	(Submitter name unknown) <root@ns2.redline.ru>
1995-04-30 07:56:45 +00:00
Bruce Evans
af5b6e3f9d Remove chmod of pcaudio* to 666. Not everyone should be allowed to
play the speaker and consume 10-100% of the available cycles.

Remove chmods of sound devices to 666.  Use chmod to give the same security
holes.
1995-04-28 07:53:43 +00:00
Bruce Evans
d45ae51059 Add cyclades serial devices cuac*, cuaic*, cualc*, ttyc*, ttyic* and ttylc*. 1995-04-28 07:39:21 +00:00
Peter Dufault
657e73c4f5 Add National Instruments "LabPC" driver 1995-04-28 00:51:40 +00:00
Bruce Evans
cd782e4154 Reviewed by: Gene Stark (starkhome!gene@sbstark.cs.sunysb.edu)
Change ownership of tw* from bin.bin to root.operator.  Hardware devices
shouldn't be accessible to bin.
1995-04-26 08:07:30 +00:00
Rodney W. Grimes
28f1950b10 Add $defaultdomainname to sysconfig and use it in netstart to set the
domainname.  This eliminates /etc/defaultdomain.

Correct tickadj, it should have been tickadjflags.
1995-04-24 23:52:16 +00:00
Jordan K. Hubbard
a746536c51 Document COPTFLAGS in addition to CFLAGS. 1995-04-23 13:03:24 +00:00
Andrey A. Chernov
29ea28d79e Add 'rc' devices. 1995-04-23 12:02:21 +00:00
Atsushi Murai
281cc46322 Fixing misspelling and chang default device as dailout
Reviewed by: Atsushi Murai <amruai@spec.co.jp>
1995-04-22 17:14:21 +00:00
Jordan K. Hubbard
29fb81664f Add xten user/group.
Submitted by:	Gene Stark <gene@starkhome.cs.sunysb.edu>
1995-04-18 02:03:59 +00:00
Rodney W. Grimes
51564ceea8 A better solution for the noisy ibcs2 startup, just echo a space and then
call ibcs2.
Submitted by:	jkh, slight modification by me.
1995-04-13 21:23:17 +00:00
Jordan K. Hubbard
d99fdc4f07 I missed some of Frank Durda's changes for MAKEDEV. Fixed.
Submitted by:	Frank Durda IV <bsdmail@nemesis.lonestar.org>
1995-04-13 00:51:55 +00:00
Andrey A. Chernov
5c613ed190 Call gated as /usr/local/sbin/gated instead of possible adding
/usr/local/sbin to rc PATH
1995-04-12 16:58:06 +00:00
Andrey A. Chernov
7cccae663d Fix "at" directories owner 1995-04-12 03:02:01 +00:00
Andrey A. Chernov
8889e816b4 Add -r to rm -f /var/spool/uucp/.Temp/* 1995-04-11 18:36:10 +00:00
Rodney W. Grimes
d75038b6e7 Remove obsolete comments about my-name and my-network.
Have netstart directly source sysconfig so that it stands on its own.
Do not source netstart in rc, run it with sh.

Rework the dangerous /etc/hostname.* so that it uses a variable with
a list of interfaces and a variable for each interface in that list.
The files /etc/hostname.* become obsolete with this change, the
information is now stored in /etc/sysconfig.

Source any /etc/start_if.${ifn} files so they can export things to
netstart (plans for future enhancements in this area.)

Obsolete /etc/defaultrouter, this is now down with $defaultrouter from
sysconfig.
1995-04-11 01:22:24 +00:00
Rodney W. Grimes
40a36bc906 Add missing "echo '.'" to end of file so that the next file called
starts on a new line.
1995-04-10 01:39:13 +00:00
Rodney W. Grimes
1f55ebbcd9 This is a purely cosmetic clean up. Fix many cut and paste problems that
had turned tabs into spaces.
1995-04-09 09:54:51 +00:00
Andrey A. Chernov
ea1e26d7e2 Upgrade to RFC1700 (IANA) 1995-04-09 03:02:08 +00:00
Nate Williams
dff188f7dc Added /usr/share/examples/cvs for use by cvsinit. 1995-04-08 17:48:00 +00:00
Andrey A. Chernov
9265b96620 Add ident (commented out) 1995-04-08 16:21:45 +00:00
Andrey A. Chernov
8075515025 Fix official name of 113/tcp service
Obtained from: SunOS /etc/services
1995-04-08 16:17:05 +00:00
Jordan K. Hubbard
0039743841 Don't spit out a gratuitous ibcs2 startup message. 1995-04-06 02:38:37 +00:00
Andrey A. Chernov
d9e7919357 Set desired cursor type for syscons 1995-04-04 17:34:55 +00:00
Andrey A. Chernov
213abfcf47 Add missing ';' 1995-04-01 12:55:33 +00:00
Andrey A. Chernov
179b3cdf2d Make /usr/share/nls/* dirs for message catalog stuff 1995-04-01 04:47:43 +00:00
Jordan K. Hubbard
9cd4774910 Add modem database file for new tip changes. 1995-03-31 11:41:58 +00:00
Andrey A. Chernov
923782ecb6 Restore my function key configuration stuff which Rod promise to
restore but really didn't do it.
Restore message from old rc about configuring syscons whith
echo added before it to go to new line after "echo -n xtend" f.e.
and similar stuff.
1995-03-30 09:39:51 +00:00
Rodney W. Grimes
8c0aac9163 Make the creation of the header line in /etc/motd be consistent
with other BSD based systems.

Submitted by:	wollman
1995-03-30 06:34:46 +00:00
Rodney W. Grimes
711aa1c272 This is the rc work as provided by pts, I will me makeing some additional
changes to it based upon other outstanding bug reports and commits made
after his work.

Comments:

(a) sysconfig is still used to do all configuration.  I was not going to
    change that out from under you.... a user never need edit netstart
    or rc* unless they're being very weird.

(b) rc.maint has been folded back into rc.  It is just unworkable as
    a separate chunk because of ordering bogosities

(c) netstart does what it says... it starts up enough of the network to
    get up,  it doesn't start every bloody daemon that might talk to a
    socket...  netstart ifconfig's the devices and sets up routing if
    configured to do so.

(d) nfs disks are mounted immediately after netstart completes

(e) syslog is started as early as possible (right after nfs) so that error
    messages can get logged to remote syslog servers properly

(f) named is started (there is an argument that says that named should be
    started before syslogd because if you are the dns server for your domain,
    you'd like named to resolve remote hosts in syslog.conf,  but this is
    a minority case and the trivial workarround is to put the syslog host
    in /etc/hosts or use an /etc/resolv.conf -- why? because you want syslog
    to catch named errors, which is a MUCH more important and likely occurance)

(g) NOW all of the rest of the network daemons such as the time stuff, RPC,
    NIS, NFS, Kerberos and inetd are started

(h) the rest of the generic stuff is done (cron/printer/sendmail)

(i) shared libraries are set

(j) /etc/rc.i386 is run (this does FreeBSD/386 specific stuff like ibcs2,
    xtend, and all of the syscons stuff
    (this is actually started as /etc/rc.`uname -m`

(k) the syscons stuff has gotten a serious cleaning to make it consistent
    with rc conventions

(l) rc.local has had the comments about syscons removed (they are not relevant
    to this file now) and the full name of the kernel has been restored to
    /etc/motd

Submitted by:	pts
1995-03-30 06:26:19 +00:00
David Greenman
97338af32f Killed Mr. "Falcon". May he rest in peace. 1995-03-30 05:46:17 +00:00
Andrey A. Chernov
b480c2f090 Remove reference to examples/syscons 1995-03-30 00:10:31 +00:00
Andrey A. Chernov
0d58dfe47d Add function keys change setup 1995-03-30 00:01:09 +00:00
Jordan K. Hubbard
9f06251380 Move the invocation of rc.maint ahead of netstart. This is actually OK
since /var wouldn't be mounted at this point anyway - the mount of NFS
comes after both of them are run.  This closes misc/276.
1995-03-29 03:42:21 +00:00
Jordan K. Hubbard
59beb5883d 1. Add missing -n's to echo lines, closing misc/278
2. Make output of spaces follow conventions used elsewhere.
3. Inform user of a few things being started that were silent before.
1995-03-29 03:35:10 +00:00
Rodney W. Grimes
27aeb9321a History merge after repository restore of netstart,v:
date: 1995/03/26 18:18:59;  author: wpaul;  state: Exp;  lines: +23 -17
Make syslogd work again: in needs to be started in netstart right
before the rest of the system daemons are brought up and *after* the
network interfaces have been configured.

Also fix one other potential problem: the NIS services need to be started
relavively early since some of the other daemons might need them. The
automounter is a good example: if you use amd with NIS-based maps, you'd
better have NIS running before you start it. :) I think mountd might
need it too, now that netgroups can be read via NIS as well.
1995-03-29 03:33:55 +00:00
Jordan K. Hubbard
c80147acd5 Remove gratutious echo to close misc/279. 1995-03-29 03:30:22 +00:00
Rodney W. Grimes
9845d771df History merge after repository restore of netstart,v:
date: 1995/03/23 01:25:18;  author: jkh;  state: Exp;
Another pass through our rc files in an attempt to eliminate historical
crufy and generally make all of this easier to understand and modify.
1995-03-29 03:28:08 +00:00
Rodney W. Grimes
b34537dab7 Remove the private copy of directories in usr/include from here,
this is now handled in BSD.include.dist.
1995-03-27 01:36:19 +00:00
Bill Paul
04bc775d03 Make syslogd work again: in needs to be started in netstart right
before the rest of the system daemons are brought up and *after* the
network interfaces have been configured.

Also fix one other potential problem: the NIS services need to be started
relavively early since some of the other daemons might need them. The
automounter is a good example: if you use amd with NIS-based maps, you'd
better have NIS running before you start it. :) I think mountd might
need it too, now that netgroups can be read via NIS as well.
1995-03-26 18:18:58 +00:00
Joerg Wunsch
bcd20d16ce Include ``toor'' in the list of forbidden ftp users, just in case someone
is providing this user with a password.

Pointed out by: charly@Fachschaften.TU-Muenchen.DE
1995-03-25 13:11:40 +00:00
Jordan K. Hubbard
7b56107036 Add rc.maint file. 1995-03-24 00:17:37 +00:00
Jordan K. Hubbard
e4ade01cb2 start syslog earlier
add optional ibcs2 startup
1995-03-24 00:16:26 +00:00
Poul-Henning Kamp
2a0b3f70d2 Install /etc/sysconfig 1995-03-24 00:15:15 +00:00
Jordan K. Hubbard
a50ce32dec Correct a few spelling bogons.
Submitted by:	phk
1995-03-24 00:11:02 +00:00
Jordan K. Hubbard
43b9e11c93 Get around problem of not exporting variables in sysconfig 1995-03-24 00:01:21 +00:00
Rodney W. Grimes
ecdb980f93 Convert from using old root.cache to new named.root 1995-03-23 08:43:07 +00:00
Rodney W. Grimes
fa535a53dd Import the official InterNIC Registration Services named.root file
on a vendor branch for easy updates.
Reviewed by:	phk
1995-03-23 08:19:28 +00:00
Jordan K. Hubbard
fadfd39bdf rc.netstart -> netstart 1995-03-23 06:42:36 +00:00
Jordan K. Hubbard
a590b6a207 Add a home for system maintainance tasks. 1995-03-23 01:25:51 +00:00
Jordan K. Hubbard
89341fe2a5 Another pass through our rc files in an attempt to eliminate historical
crufy and generally make all of this easier to understand and modify.
1995-03-23 01:25:19 +00:00
Jordan K. Hubbard
a4b6c787e8 Finally remove the evil little bit of excreta that was the /etc/myname
file.  hostname is set in sysconfig.
1995-03-22 18:00:36 +00:00
Andrey A. Chernov
3a46066496 Almost full syscons setup via rc & sysconfig 1995-03-22 03:29:55 +00:00
Garrett Wollman
fabbf734e5 Change named starting convention to use $namedflags like most other
daemons that take command-line arguments.  Correct /etc/namedb installation
to use the correct files.
1995-03-21 16:44:04 +00:00
Garrett Wollman
1440dc3c88 Update root NS cache.
Delete bogus localhost.rev.
Add prototype localhost.rev and a script to create it automatically.
(NB to installl people: you should ask ``do you have a full-time connection
o the Internet?'', run this script, and enable named if the answer is
yes.)
1995-03-21 16:33:45 +00:00
Jordan K. Hubbard
e017475bed Begin a long-overdue cleanup of this whole mess.
1. Move all system configuration variables into /etc/sysconfig
2. Adapt other files to use it.
3. Add a host of new variables for micro-managing your system in various
   ways.  For 2.1, /etc/sysconfig will be machine-edited so that the user
   doesn't even have to care at all about the various funny names we picked.
4. Enable dset.  We won't get it debugged if we never use it, and no one
   has said anything negative about it yet, so here goes!
5. Try to use one consistent style throughout.
1995-03-21 15:20:48 +00:00
Jordan K. Hubbard
99b1970f84 Fix apm and gsc rules to allow <blah>0' or just <blah>' to be shorthand.
[Actually, it's `<blah>*' but I'm not telling anyone]
1995-03-21 06:31:00 +00:00
Poul-Henning Kamp
6950e7e24e make.conf doesn't postulate anything about libm now. 1995-03-21 02:55:33 +00:00
Jordan K. Hubbard
39ad1abd89 Take out obsolete KERBEROS_IV build variable. Just eBones now.
Submitted by:	Mark Murray <mark@grondar.za>
1995-03-20 21:35:15 +00:00
Joerg Wunsch
ae1f8971f2 Make the catman command (in the commented-out example) run by user `man'
instead of `root'.
1995-03-19 10:10:42 +00:00
Rodney W. Grimes
0bdd4426bf Create /usr/share/games/quiz.db via mtree and remove private mkdir command
from Makefile.
1995-03-18 08:30:48 +00:00
Rodney W. Grimes
5a9e9cbac4 Use new mtree file to rebuild /usr/include. 1995-03-18 07:02:10 +00:00
Rodney W. Grimes
2c4bf858fd Use new mtree file to rebuild /usr/include.
Replace rm -f; ln -s with ln -sf when installing LATIN1LINKS, also
do not attempt to chown/chmod these links.
1995-03-18 07:01:53 +00:00