Commit Graph

1114 Commits

Author SHA1 Message Date
Joerg Wunsch
a90657fc2a Don't clobber the TERM variable if it's already set (e.g. from /etc/ttys,
or from a telnet session).  So basically, this setting will only get in
effect in the single-user shell.

Closes PR # 2395.
1997-03-06 22:24:04 +00:00
Joerg Wunsch
7488674393 Fix the (commented out) example to prune the tree from core etc. files:
don't ever attempt to prune readonly filesystems, and properly quote
*.core against the shell.
1997-03-06 10:55:46 +00:00
Joerg Wunsch
7030cda054 Now that we can read from a worm device, handle their permissions as
we do for other disk devices, too.
1997-03-05 14:04:00 +00:00
Wolfram Schneider
6b06cd7e84 Add /usr/share/doc/psd/13.rcs and /usr/share/doc/psd/28.cvs. .. 1997-03-04 17:06:23 +00:00
Bruce Evans
01645cb5c9 Merged Cortex frame grabber entry from 2.2. 1997-03-03 16:13:35 +00:00
Mike Pritchard
27117f574e Remove the -g option from the "find ... | xargs -ls ..." line.
The -g option to ls has been depreciated.
1997-03-03 07:03:50 +00:00
Bruce Evans
0afac18962 Added new filesystem directories.
Fixed munged whitespace (just 2 lines of it).  The mtree files were
originally generated by `mtree -cdinx -kuname,gname,mode'.  This
gives output with no tabs except in the header.  The format should
be preserved by manual updates so that the files don't change a
lot when they are regenerated.
1997-03-02 14:37:32 +00:00
Wolfram Schneider
920fb73901 Create directory /etc/skel. 1997-02-28 18:23:14 +00:00
Wolfram Schneider
85cf4b8e56 add lt_LN.ISO_8859-1 1997-02-28 17:27:07 +00:00
Wolfram Schneider
b576d5e121 Add forgotten entries for Croatia
Pointed out by: ache
1997-02-27 12:22:25 +00:00
Andrey A. Chernov
8aa5c4525c Fix typing error in default class: rc= instead of tc= 1997-02-26 23:41:33 +00:00
Andrey A. Chernov
1833488df9 For root & daemon classes bump max openfiles to 1024 to really activate
bumped select limit
1997-02-26 23:20:11 +00:00
Mike Pritchard
bcc8ee65e8 Larn needs /var/games/larn to exist so that it can create its scorefile.
Closes PR# 1944.
1997-02-26 01:17:49 +00:00
Mike Pritchard
b6561e8951 Don't include /usr/X11R6/man in the makewhatis search path if
it doesn't exist.  Closes PR# 326.
1997-02-25 02:56:13 +00:00
Mike Pritchard
ba565fa6ce When looking for setuid files, call find with -print0 and xargs with -0.
This allows find to pass files with "illegal" characters to xargs in a
safe manner.

Note: due to the manner in which the file names are now passed between
find and xargs, the files are now sorted differently than before.
The first /etc/security run after installing this change may result
in a lot of output when nothing did in fact change.

Closes PR# 1910.

2.2 candidate.
1997-02-23 21:34:34 +00:00
Brian Somers
3dcdd58733 Make the sample config files more understandable, correcting various
bits of grammar.
Added a decent pmdemand example for dynamic IPs on both sides.
Could this be a 2.2 candidate ?
1997-02-23 14:04:23 +00:00
Peter Wemm
79403fe300 Revert $FreeBSD$ to $Id$ 1997-02-23 09:21:14 +00:00
Peter Wemm
2bb58cb2e0 Create /usr/libdata/gcc/ in preperation for installing specs 1997-02-23 07:25:06 +00:00
Andrey A. Chernov
e00100ce52 Add ko_KR.EUC directories 1997-02-22 22:47:21 +00:00
David Greenman
9e7740921a Updated to Jan 22, 1997 revision from the InterNIC. 1997-02-18 23:37:58 +00:00
Bruce Evans
dab159e3d6 Select between the generic math functions and the i387-specific ones
at runtime.

etc/make.conf:
Nuked HAVE_FPU option.

lib/msun/Makefile:
Always build the i387 objects.  Copy the i387 source files at build
time so that the i387 objects have different names.  This is simpler
than renaming the files in the cvs repository or repeating half of
bsd.lib.mk to add explicit rules.

lib/msun/src/*.c:
Renamed all functions that have an i387-specific version by adding
`__generic_' to their names.

lib/msun/src/get_hw_float.c:
New file for getting machdep.hw_float from the kernel.

sys/i386/include/asmacros.h:
Abuse the ENTRY() macro to generate jump vectors and associated code.
This works much like PIC PLT dynamic initialization.  The PIC case is
messy.  The old i387 entry points are renamed.  Renaming is easier
here because the names are given by macro expansions.
1997-02-16 18:26:31 +00:00
Jordan K. Hubbard
2ff95d56b3 Document FTP_PASSIVE_MODE in the place where I usually set it. 1997-02-13 09:07:32 +00:00
Julian Elischer
0336b6019b add a disktab entry for those people who need abit of help
with ZIP drives..

use with:
disklabel -r -w -B sdx zip100

Submitted by:	dave blizzard <dblizzar@sprynet.com>
1997-02-10 10:11:54 +00:00
Jordan K. Hubbard
d243e2f7f4 1.2 -> 1.44MB floppies. 1997-02-09 23:17:50 +00:00
John Polstra
f5491fc795 Security fix. Strip the encrypted passwords out of the "master.passwd"
diff output, and replace them with "(password)".  The diffs get
mailed to root, which in many cases is forwarded across the
Internet.  A patient sniffer could acquire the entire "master.passwd"
file by saving all the diffs.  With this fix, you still see that the
password changed, but you don't see the details.

Unless somebody talks me out of it, I am going to merge this into -2.2
in 48 hours.
1997-02-08 20:54:38 +00:00
Joerg Wunsch
94e7483c11 Add worm(4)'s bdev entry. 1997-02-06 22:23:26 +00:00
Mike Pritchard
3bd176a7c4 Change the header line to read "count" instead of "ngen" so
that it matched the terms used in the manual page.

Closes PR# 2663.
1997-02-05 14:17:11 +00:00
John Polstra
6bedb27d16 Add "/usr/share/examples/drivers/", fixing make world breakage.
Forgotten by:	julian
1997-02-03 16:13:42 +00:00
Bruce Evans
def920e3ec Use shifts instead of multiplications and |' instead of +' to simplify
dkminor().  Use $((1 << 29)) instead of a mysterious decimal number for
$scisctl.  Use dkminor() instead of repeating part of it for special cases.
Shortened some long lines.
1997-01-27 06:24:10 +00:00
Bruce Evans
2c175ef3f5 Fixed comment that did not match code (cursor -> bell). 1997-01-27 06:12:08 +00:00
Poul-Henning Kamp
0c0c8511e7 Since we have netatalk in the kernel, make life a little easier for
people and add the four needed entries in /etc/services.
1997-01-25 20:55:46 +00:00
Nate Williams
90b98c2933 Change the entry for ttyv3 to be the same as X would require if we
were using xdm (but still off).
1997-01-25 05:51:23 +00:00
David Greenman
ac9e2a2511 Change to use some unused bits in the 'type' field to extend the unit field
to 9 bits (512 units) for disk devices.
1997-01-24 22:00:35 +00:00
Jordan K. Hubbard
5bdab685d1 As /etc/sysconfig and /etc/rc.i386 is now, you can't modify the syscons
bell type on boot. Slightly annoying when your system doesn't have a speaker.
This adds a `keybell' frob for setting it.  Closes PR#2519

Submitted-By: Jonathan Mini <mini@hydrogen.nike.efn.org>
1997-01-24 10:12:45 +00:00
David Nugent
07e23a12b8 Made more reasonable as a set of defaults. Remove cruft, fix a couple
of errors and eliminate cap_mkdb errors. Closes PR misc/2551.
1997-01-22 03:33:55 +00:00
Joerg Wunsch
3e92fe3bd3 by popular request I submit the following disktab entry for inclusion in
/etc/disktab

Submitted by:	lada@ws2301.gud.siemens.co.at (Hr.Ladavac)
1997-01-17 23:06:25 +00:00
Jordan K. Hubbard
525014855b Make sure newly created /var/account/acct file is 0600 mode. 1997-01-16 02:18:37 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Nate Williams
6cebb6a689 Added apm and card[01] devices to all target.
Suggested by:	bde
1997-01-13 17:37:20 +00:00
Andrey A. Chernov
6930f84b7b Add commented out example entry for imap4 1997-01-12 17:55:16 +00:00
David Nugent
4387f78ffa Added 'xuser' class entry point for X users (who need more resources).
Increased default procs/file handles so that man will work in more
situations. Other suggestions welcome, btw.
1997-01-11 16:08:53 +00:00
David Nugent
0bc1c71450 Adds a template/example login.conf, login class capabilities database. 1997-01-11 06:47:56 +00:00
Paul Traina
9c1fc5f52b Clean up imap 1997-01-10 02:42:14 +00:00
Nate Williams
6951277803 Minor modifications to the PCCARD startup files and comments.
Submitted by:	The Nomads
1997-01-06 06:26:01 +00:00
Nate Williams
d1cde7ab69 Remove un-necessary comment. 1997-01-06 04:27:21 +00:00
Alexander Langer
6a9352fece Typo police. 1997-01-04 23:29:56 +00:00
John Fieber
c7767b4622 Add docbook. 1997-01-04 22:24:01 +00:00
Mike Pritchard
8e3e26601e Create /usr/share/examples/mdoc. 1997-01-02 20:41:07 +00:00
Poul-Henning Kamp
6714d73596 Put dmesg.boot in /var/run instead of /var/tmp
Suggested by: joerg & peter
1997-01-02 18:55:26 +00:00
Poul-Henning Kamp
7a0a3ad314 Now that uptimes run into months on a regular basis, I often find myself
wondering what the hw-config of a machine is, and the logs have been
rotated many times since reboot already.

Added:
	/sbin/dmesg > /var/tmp/dmesg.boot
to /etc/rc

2.2 candidate
1997-01-02 16:28:33 +00:00
Satoshi Asami
6fa8e3b73b Add share/examples dir.
Suggested by:	max
1996-12-31 14:00:05 +00:00
Joerg Wunsch
513a014830 While being here, also create all the gsc device nodes as described in
the gsc(4) man page, and allow for more than one unit number.
1996-12-30 20:51:36 +00:00
Peter Wemm
3a233001ff Get rid of the revolting hacks that were used to install the
/etc/sendmail.cf file.

Submitted by: bde
1996-12-28 18:00:17 +00:00
Wolfram Schneider
d86abf50b2 add new directory /usr/share/examples/printing 1996-12-28 15:40:38 +00:00
Peter Wemm
747328f032 Add commented out samples on how to activate the compat libs during build.
Note that nothing is stopping somebody from cd'ing to src/lib/compat/<dist>
and doing a 'make all install' there by hand.
1996-12-23 05:17:09 +00:00
Joerg Wunsch
ee4466ac87 Extend the set of ptys to chmod at boot time.
Closes PR # conf/1957: not all perms of ptys...

Submitted by:	gurney_j@efn.org (John-Mark Gurney)
1996-12-23 00:32:15 +00:00
Joerg Wunsch
901d09409f Add /usr/local/sbin to the rc $PATH. Things like GateD are located there. 1996-12-19 18:06:35 +00:00
Andrey A. Chernov
7deead3e52 cvsup client moved from sbin to bin
2.2 candidate
1996-12-16 03:37:59 +00:00
Bruce Evans
3b4d52b99d Fixed missing install of BSD.include.dist. 1996-12-13 17:01:51 +00:00
Jordan K. Hubbard
7b69bdb95c magic file is no longer in /etc 1996-12-13 10:24:42 +00:00
Jordan K. Hubbard
0b3870cb60 Close PR#2198:
I've added an installation from optical disk drive facility.
	This enables FreeBSD to be installed from an optical disk, which
	may be formatted in "super floppy" style or sliced into MSDOS-FS
	and UFS partitions.

	Note:  ncr.c should be reviewed by Stefan Esser <se@freebsd.org>
	and cd.c by Joerg Wunsch <joerg@freebsd.org> before bringing this
	into 2.2.

Submitted-By: Shunsuke Akiyama <akiyama@kme.mei.co.jp>
1996-12-13 07:55:14 +00:00
Satoshi Asami
9ebd95e3ed Add missing mann and catn directories.
2.2 candidate.
1996-12-12 10:06:38 +00:00
Adam David
10e599f8e8 ifconfig 127.0.0.1 instead of localhost 1996-12-10 02:23:27 +00:00
Peter Wemm
e8fce182a6 Update this to what freefall's been running for a day or so. 1996-12-06 11:29:15 +00:00
Satoshi Asami
9ef182d781 Directories for Japanese manpages. Definite 2.2 candidate, as it will be
used for the "Japanese manpages port" coming soon.
1996-12-05 10:33:56 +00:00
Satoshi Asami
ed22ead6b5 Add share/misc. Definite 2.2 candidate, if we want it to be consistent
with the ports.

Found by:	obrien and his mutt port
1996-11-26 10:01:28 +00:00
Bruce Evans
f6710c88c5 Added forgotten directories zoneinfo/Antarctica and zoneinfo/Arctic.
The zoneinfo makefile doesn't follow the rules.  It builds everything
at install time.  It dpends on zic to create the directories.  zic
doesn't know about the weird 555 permissions specified in BSD.usr.dist,
so it creates the directories with nonstandard permissions.
1996-11-23 20:04:02 +00:00
Andrey A. Chernov
041f99248c Add missing nls directories
2.2 candidate
1996-11-23 04:06:10 +00:00
Andrey A. Chernov
838037af6d ru_SU -> ru_RU 1996-11-21 10:17:45 +00:00
Andrey A. Chernov
7be3905425 Add ru_RU as alias to ru_SU 1996-11-21 10:13:25 +00:00
Wolfram Schneider
7232e09ce1 delete removeuser 1996-11-17 03:57:08 +00:00
Andrey A. Chernov
a8ca22b2d8 Remove backward-compatible locale aliases, XFree now support native
FreeBSD names
1996-11-15 12:34:26 +00:00
Satoshi Asami
f061275f2d Create directory for Japanese handbook. Definite 2.2 material if the
handbook is going to make it.
1996-11-15 06:18:41 +00:00
Andreas Klemm
fda1c610e8 Added $PATH to the end of PATH. Otherwise the command 'expr' can't be
found by the shell when running MAKEDEV from the fixit floppy environment.
1996-11-14 14:28:26 +00:00
Adam David
ac55eca46c start rpc.statd for nfs_server case.
add warning and commented out line for rpc.lockd
1996-11-13 19:04:31 +00:00
Paul Richards
9c57aa7fca Added ocol: ppp to the first two examples so that ppp catually requests
the ppp protocol when it logs in. I'm not sure whether this applies to all
the examples. Are there cases where the ISP assumes ppp is being used ?
1996-11-11 17:27:25 +00:00
Peter Wemm
7737a49d16 The kerberised network services should only be active in inetd.conf
if kerberos is installed.  So far as I'm aware, kerberos aware clients
detect ECONNREFUSED and (if allowed) fall back to the non-kerberos
servers.  They do not know how to interpret messages such as
"rlogind: unknown option -k".

I believe Garrett also mentioned this.

Unfortunately, this adds an extra step to bringing up kerberos.

It also stops /var/log/messages getting quite so many useless (and
confusing) error messages when somebody does a port scan on you.
1996-11-10 13:06:14 +00:00
Jordan K. Hubbard
190cca38e9 Add an entry for minimum - that's a lot easier. 1996-11-09 09:23:09 +00:00
Peter Wemm
c3bfbfc0aa make the /etc/sendmail.cw file optional by default.
Definately should go into 2.2..

Requested by: lots of people
1996-11-08 05:22:50 +00:00
Paul Traina
bdfaa56a86 The standard .mc files shipped with the new sendmail have an extra divert(0)
at the top.  Make our freebsd-supplied files match the standard files.

Apply-to: 2.2
1996-11-06 22:30:29 +00:00
Paul Traina
648251a14c auth.debug should not be sent to root realtime
news.notice info should not be sent to /var/log/messages, as news has
	its own set of logs and notice is overused by inn

added entries for newsservers (but they're commented out)
1996-11-06 22:27:04 +00:00
John Hay
f4fb1da19f Add knobs for IPX.
2.2 candidate?
1996-11-05 20:10:37 +00:00
Joerg Wunsch
e58aa098b4 /dev/vn0b is supposed to be a block device, so don't test(1) whether
it's a plain file.

Submitted by:	brian@awfulhak.demon.co.uk (Brian Somers)
1996-11-03 14:41:58 +00:00
Andrey A. Chernov
0ee6900601 Back out daemon.* addition, ssh port should be fixed instead 1996-11-02 00:08:44 +00:00
Andrey A. Chernov
7fded3d0e5 Add -z to CVSupflags, it iz safe because it is done by zlib,
not by extra gzip child
1996-11-01 17:12:07 +00:00
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