Commit Graph

2129 Commits

Author SHA1 Message Date
rwatson
26c765aa31 There is nothing more annoying than su'ing to root and discovering that
even simple things like md5 and ping aren't in your path.  This patch
moves the custom root-path setting from .login to .cshrc, so that users
who su to root get a decent (and consistent) path.  An appeal to change
/etc/login.conf to provide a decent path for all users seems to have been
vetoed for the time being.  As a result, users will still, by default,
not find ping or md5 in their path.  However, at least root gets a decent
default now.

Reviewed by:	asmodai
Approved by:	jkh
2000-03-07 18:52:37 +00:00
imp
bb8892bb62 Add two more cards:
CNET CN40BC Ethernet adapter (ne2000 clone)
	Megahertz XJ32288

Submitted by: Juriy Goloveshkin <juriy@avias.com>
2000-03-07 08:51:39 +00:00
imp
a45b12452c Minor nits and extra devices:
o use ata2 consistanty, even though it doesn't matter too much
o SunDisk (aka SanDisk) SDP's need a different config to actualy work
  (tested on the 10M part) by me.
o Non-name ata card.
o WIT IDE controller
o IBM FLASH card
o Megahert 28.8 cellular modem that I thought I'd added before.
o LinkMake LM 336 combo modem/fax.

Submitted by various people and gleaned from the nomads and mobile
mailing lists, but I've lost the names.  I'm sorry.
2000-03-07 04:52:49 +00:00
shin
ad31bfc5ee Fix a typo. (s/eExample/Example/)
Submitted by: Robert Muir <rmuir@looksharp.net>
2000-03-05 20:23:44 +00:00
kris
f20c9d899f Document NO_OBJC for disabling Objective C support 2000-03-05 10:53:24 +00:00
jkh
5258174fec cosmetic fix - add a space. 2000-02-29 12:53:28 +00:00
billf
bda30be6f9 Add the new ses example code directories, unbreak world.
Submitted by:	cpiazza, who...
Actually tested: make world
Desired by:	jkh, mjacob
2000-02-29 08:45:22 +00:00
kris
2aeb418d84 Document NODESCRYPTLINKS 2000-02-29 06:17:33 +00:00
markm
d9108a4003 Get the order of things right; the keys need to be generated
early to allow entropy to replenish.
sshd must start late to catch the full effects of ldconfig.
2000-02-28 19:54:06 +00:00
jkh
e15679d81e Generate new sshd host key when necessary. I'm tired of
waiting for someone to commit this. :)
2000-02-28 19:21:05 +00:00
kris
22f529d0b6 Update the description of NOCRYPT and NOSECURE to match reality. 2000-02-28 07:07:26 +00:00
steve
d6f1d19d6e Fix a typo, so that the Aironet 4500 really does have an entry here.
PR:		17028
Submitted by:	David Malone <dwmalone@maths.tcd.ie>
Approved by:	jkh
2000-02-28 01:44:07 +00:00
kris
d62b5b6f16 Document the following buildworld knobs:
NO_FORTRAN NOCRYPT NOGAMES NOINFO NOLIBC_R NOSECURE NOSHARE
2000-02-27 22:56:27 +00:00
kris
a16b0b3c60 Document NOPERL for disabling building of PERL altogether. 2000-02-27 22:44:46 +00:00
shin
23e5b71734 Add IPv6 services into inetd.conf.
Also enable some standard IPv6 apps by default.
These entries will be simply ignored on systems with no INET6 defined.

Approved by: jkh
Suggested by: peter
2000-02-27 18:39:34 +00:00
shin
9b8b207497 Add IPv6 related docs.
Reviewed by: phantom
2000-02-26 19:44:12 +00:00
peter
fdad9bc95f Install ssh files in /etc/ssh and tidy up a couple of other nits 2000-02-25 14:27:33 +00:00
peter
22d8dd90c9 Add /etc/ssh 2000-02-25 14:18:48 +00:00
peter
c262f0727b Ack! Time to get the pointy hat. Re-add missing / I left out.
Submitted by:	John Hay <jhay@mikom.csir.co.za>
2000-02-25 11:08:50 +00:00
peter
08aeaabc77 Fix references to crypto code to check that it exists first. Otherwise
it breaks mergemaster (and probably other things).

Submitted by:	Munehiro Matsuda <haro@tk.kubota.co.jp>
Approved by:	jkh
2000-02-25 05:16:44 +00:00
markm
1b942b3840 Run sshd at boot time if the sysadmin wants it. Also install
ssh[d] config files in the right place.
2000-02-24 23:12:04 +00:00
markm
27fe751781 Add userland tweakables for OpenSSH and OpenSSL. 2000-02-24 23:08:19 +00:00
shin
1f38e33d22 -Remove IPv6 initialization failed interfaces from the list of
interfaces passed to rtadvd
-Comment out example sentences more completely
-Redirect error message of ifconfig output into /dev/null, to correctly
 find out working IPv6 interfaces

Approved by: jkh
2000-02-24 18:52:58 +00:00
shin
b171311de4 -Removed unnecessary use of awk.
-small comment fix.

Approved by: jkh

Submitted by:  Chris Costello <chris@calldei.com>
2000-02-24 06:51:03 +00:00
shin
d60db65e7c Added rc.network6.
Approved by: jkh

Submitted by: bmah@CA.Sandia.GOV (Bruce A. Mah),
	Ruslan Ermilov <ru@ucb.crimea.ua>
2000-02-24 06:42:49 +00:00
shin
af0bb08525 Add IPv6 configuration scripts.
Initial version created by, and kindly much tested by:
	bmah@CA.Sandia.GOV (Bruce A. Mah)

Approved by: jkh

Reviewed by: bmah@CA.Sandia.GOV (Bruce A. Mah),
	Ollivier Robert <roberto@keltia.freenix.fr>
Obtained from: KAME project
2000-02-23 18:05:58 +00:00
joe
413e63434c Fixed a typo. The D-Link is a DFE-650, not a DEF-650.
Approved by:	jkh
2000-02-22 12:16:08 +00:00
jkh
009cea468d PS/2 mice are a lot more common than serial mice now; use /dev/psm0
as default rather than /dev/cuaa0
2000-02-19 13:07:21 +00:00
rwatson
ce579c85fe Modify MAKEDEV to create four bpf devices instead of one when doing a
MAKEDEV all, making DHCP on multiple interfaces happier, and allowing use
of tcpdump to to debug DHCP, without creating more devices.
(we need devfs)

Modify MAKEDEV to create four tun devices in MAKEDEV all as well, since
we're being gratuitous with network pseudo-devices.
(we need devfs)

Approved by:	The Hubbard
2000-02-18 05:49:08 +00:00
asami
efc9260cda Add ${X11BASE}/lib/X11/local -- this directory is created by the X
installation, so it should be in this file too.

Approved by:	jkh
2000-02-18 01:20:12 +00:00
imp
c9b7c127b8 Fix previous commit to not use the PAO 'any' keyword.
Approved: Prior commit approved by jkh
2000-02-17 06:02:21 +00:00
jkh
9c75578bb8 The default rule in this file actually sent mail to root as its default
action when denying access to a service.  Unfortunately, this also makes
a dandy denial-of-service attack possible.  Change to just log the event
and shoot a "go away" response back down the socket.
2000-02-17 04:52:23 +00:00
shin
6768336e3b Add IPv6 loopback entry into src/etc/hosts.
Missing IPv6 loopback name record cause name resolving lock
  on INET6 enabled systems in some cases.
  So define it.

Approved by: jkh
2000-02-15 14:59:16 +00:00
phk
afc2859d9d No arguments needed for fore_dnld any longer.
Approved by:	jkh
2000-02-15 13:21:43 +00:00
imp
84f8a9f6d2 More cards from posts to -mobile. 2000-02-14 08:02:27 +00:00
kuriyama
25ea71213a Fix typo (s/Pladio/Paldio/). 2000-02-13 01:54:01 +00:00
n_hibma
0efdb1e473 Add the uhid device.
Approved by:   jhk
2000-02-12 21:16:01 +00:00
shin
58306df166 Add ftpd entries into /etc/pam.conf.
S/Key authentication for ftpd was not working due to ftp implementation and
  /etc/pam.conf missmatch.
  So add ftpd entries into /etc/pam.conf.

Reported by: "Jose M. Alcaide" <jose@we.lc.ehu.es>
Approved by: jkh

Reviewed by: markm
2000-02-12 20:22:20 +00:00
hosokawa
549644f3c2 Added Melco Airconnect wireless Ethernet.
Submitted by:	Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
OK'ed by:	jkh@FreeBSD.org
2000-02-12 01:49:29 +00:00
nsayer
320ecd9d1a When running dhclient on a PC-Card insertion, specify the inserted
interface on the dhclient command line. Not doing so screws up vmware's
network interface by attempting to configure it for DHCP (which will
never work, of course). It also would impact any other interface that
may be present that, again, would likely be manually configured for
some other purpose.

Approved by: jkh
2000-02-11 14:49:42 +00:00
rwatson
a4d6222e61 Remove /dev/console from the jail /dev environment. It's probably not
strictly a security hole, but neither is it a very good idea.  Replace
it with a symlink to /dev/null to happify programs that expect it.

It is suggested that users of the jail environment modify the jail's
syslog.conf to not send stuff to /dev/console, but instead syslog
it somewhere else.  Such as a loghost, potentially even to the host
environment's syslog.

Approved by:	jkh
2000-02-09 22:08:12 +00:00
rwatson
5b76fa6882 Intoduce a new make.conf entry, NO_MAKEDEV, and modifications to
/etc/Makefile so that if it is defined, MAKEDEV all is not called
during a make distribution.  This helps clean up the messy userland
in jail(), by reducing the number of devices exposed in jail.
Modifications to jail(2) to follow.

Approved by:	jkh-arius
2000-02-09 04:08:18 +00:00
rwatson
6b5dfacc05 Add two commented out syslog.conf entries, one to demonstrate the use of
an all.log for logging all messages, and one to demonstrate use of loghosts.
Also, a matching entry in newsyslog.conf for all.log.

Per request of Garrett Wollman, also modified the maillog entry to use the
@T newsyslog time specification mechanism.  Because newsyslog doesn't
support the mod date specification machanism, couldn't change other
entries that required more than one execution a month, but less than once
a day.

Approved by:	jkh
Reviewed by:	freebsd-security
2000-02-08 21:57:28 +00:00
paul
1526ff49b0 Add a firewall_flags option that is used when ipfw processes a file. It allows
you to run a preprocessor, such as m4, so that you can use macros in your
rules file.

Approved by:	jkh
2000-02-06 19:25:00 +00:00
hm
104b16d9f8 Approved by: jkh
Reviewed by: joerg

The isdnd is able to listen on a socket for isdnmonitor to connect to
it to remotely control it (similar to ppp and pppctl). When this is
enabled in the isdnd config file, it will fail currently because isdnd
is started before the network interfaces are configured.
It is necessary to move the isdnd start after the ifconfig of the network
interfaces, then this problem will not occur.
2000-02-06 16:33:54 +00:00
nsayer
a45c89719d /dev/vn0b is a character device now.
Approved by:	jkh
2000-02-03 06:06:36 +00:00
obrien
8c8b7d18d9 Revert to rev 1.6 until post 4.0-R. As probably 98% of i386 installs
happen with a keyboard and monitor the console change was not as needed
in the i386 case as the Alpha case.  IMO >50% of Alpha installs are using
a serial console, the change matching rev 1.7 should not be backed out.
2000-01-29 12:18:03 +00:00
bde
945f3db468 Fixed chgrp lossage in rev.1.233. Most floppy devices and all slices for disk
devices because accessible by group wheel instead of group operator.

Didn't fix fishy group for rsa*.ctl.  This device should have group operator
if that is safe, or mode 600 and group wheel.

Removed ssc and uk*.

Removed bogus (redundant) chmod's to 600.
2000-01-29 10:32:49 +00:00
imp
a7825a6a4f Add three entries:
# Apollo PCMCIA Ethernet Adapter
# Olicom OC2220
# National Semiconductor InfoMover NE4100

I forgot who submitted the first two, but the third one was submitted
by Jim Bloom.
2000-01-29 02:04:16 +00:00
obrien
6a916c7514 * Use console' rather than ttyv0' so there will always be a getty on
the console reguardless of the type of console.
* Make the Alpha version match the i386 version.
2000-01-29 00:50:21 +00:00