Commit Graph

1715 Commits

Author SHA1 Message Date
David Greenman
7ba9347985 Ripped out EDITOR=ee with extreme prejudice. 1999-01-26 07:28:31 +00:00
Peter Wemm
8942af695d Move reading of rc.conf sooner as requested by Greg. I'm a tad nervous
about this becase that makes it get run *before* the filesystems are
mounted.  If people have added stuff to their rc.conf or rc.conf.local
that uses stuff outside of /bin and /sbin, this will break.
1999-01-26 05:14:36 +00:00
Peter Wemm
d41bc16f34 The vinum setup tool automatically loads the vinum module if it's needed,
there is no need to duplicate the logic here.

XXX rc.conf needs to be read sooner..
1999-01-26 04:59:43 +00:00
Matthew Dillon
5ab0c62f95 Commit first rc.diskless startup plus modifications to rc.conf and Makefile
to make it work.  NOTE!  Uses new kern.conf_dir sysctl.
1999-01-25 18:24:46 +00:00
Matthew Dillon
633dcb59ac Finish up /etc/rc adjustments to handle diskless read-only-root booting.
This will be followed up by rc.diskless and documentation.
1999-01-25 18:07:25 +00:00
Matthew Dillon
3c83a6adc9 Introduce rc script for BOOTP 'diskless' boot. Well, not quite diskless
since the kernel must be booted from something ( like a floppy ).  This
    script must occur near the beginning of the rc file in order to support
    read-only NFS mounts, which in turn allows all the BOOTP machines to use
    the same / and /usr.

    The companion rc.diskless script is forthcoming.
1999-01-25 04:40:53 +00:00
Mark Murray
7582c823d5 Replace a bunch of "ln foo bar"'s with "ln -f foo bar".
This means that if(when) you go "sh MAKEDEV all" in /dev
the devices get remade; you don't get errors.
A lot of the changes are for info only; they are commented out.

Not exactly shot to pieces by:	bde
1999-01-24 13:51:26 +00:00
Mark Murray
078826d873 More libcrypt backout. 1999-01-24 13:46:33 +00:00
Brandon Gillespie
854de4f06a Added comment about how auth_default is used by passwd. 1999-01-22 15:31:25 +00:00
Warner Losh
78d7efaa73 Euro support, part 2.
This should be merged into RELENG_3 and a similar patch may be needed
for RELENG_2_2, should that deemed necessary.

Make world succeeded with these patches in my tree.

Submitted by: "Kaleb S. KEITHLEY" <kaleb@ics.com>
1999-01-21 19:41:38 +00:00
Jordan K. Hubbard
d441915b4b nuke dset from here.
Reminded by:	peter
1999-01-20 12:30:13 +00:00
Satoshi Asami
f7124908f3 Change MASTER_SITE_BACKUP to point to new dir on wcarchive. Merge some
MASTER_SITE_* macros from latest bsd.port.mk.
1999-01-20 01:58:39 +00:00
Hellmuth Michaelis
120fd2abc9 Rename files to indicate a bit better that they are just samples 1999-01-19 15:33:23 +00:00
Hellmuth Michaelis
89632cab7b Add directory /usr/share/examples/isdn 1999-01-18 13:58:47 +00:00
Greg Lehey
7e7f24a712 Only start vinum if vinum_slices variable is non-empty
Reported-by:	roberto
1999-01-18 03:25:10 +00:00
Greg Lehey
f10d3a9382 Add hooks for starting vinum at boot time. Set the variable
vinum_slices to the names of all slices (block device) which are under
the control of vinum.  The configuration will be read in from each in
turn, starting with the most recently updated.

Reviewed-by:   jkh
1999-01-17 03:32:07 +00:00
Joerg Wunsch
8a173970c1 Add some special hooks for sppp(4) interfaces. In addition to the
normal ifconfig stuff, one might need to pass down authentication
parameters for them.

This is closely tied to Hellmuth's impending rc patches for ISDN, but
sppp can also be used separately (thus it doesn't go directly into the
planned ISDN section of rc.conf).

Reviewed by:	hm
1999-01-13 17:32:37 +00:00
Hellmuth Michaelis
49c3b47aae Integrate the ISDN subsystem into the /etc/rc framework
Reviewed by: Joerg Wunsch
1999-01-13 08:20:55 +00:00
Satoshi Asami
0e510aed5b Oops, I missed a few more /etc/nologin references yesterday. It appears
my check of the tree was incomplete.  Sorry guys.

Reported by:	Ben Smithurst <ben@scientia.demon.co.uk>
1999-01-12 14:09:23 +00:00
Peter Wemm
62b58260c9 Update the default sendmail.cf to be a little more respectable.
I have not enabled rbl by default, I understand an 'opt-in' is a key part
of it's legal protection.
Activate a few optional features (access_db, virtusertable, etc) which will
operate if (and only if) the corresponding table is created.
I've also turned on the MIME buffer overflow checking with sendmail.org's
recommended values (256/128).
1999-01-12 13:18:22 +00:00
Nick Hibma
fa99797979 Take cdev major # 114 for ugen 1999-01-12 01:31:13 +00:00
Jordan K. Hubbard
6fa60716d1 add minimum2 entry 1999-01-12 00:25:49 +00:00
Hellmuth Michaelis
9365684c0c corrected disorder, override of user and group defaults and group
permissions for /etc/isdn (suggested by Bruce Evans).
1999-01-11 16:13:16 +00:00
Peter Wemm
50f7128ec3 Remove the example for setting KERNFORMAT=elf; it is the default already. 1999-01-11 15:06:57 +00:00
Satoshi Asami
16ceea1b93 Move nologin from /etc to /var/run. This means one less file that has
to be written to /etc.

The only essential change is in paths.h, so any third-party software
written correctly will pick it up in the next rebuild.

Reviewed by:	the committers list (actually an old version)
1999-01-11 09:07:42 +00:00
Nick Hibma
34dced2c1a Added file handling to ulpt (USB printer) driver 1999-01-11 00:03:59 +00:00
Nick Hibma
69a90ca3df Added starting of usbd 1999-01-10 22:06:22 +00:00
Robert Nordier
82a2981241 No longer install outdated boot.help file. 1999-01-10 21:08:26 +00:00
Hellmuth Michaelis
7d06eda8b4 add directory /etc/isdn and populate it 1999-01-10 14:30:53 +00:00
Daniel O'Callaghan
b7fe2b6dab Fix typo: "login failures" -> "login failure"
PR:	9424
Submitted by:	Lars K*ller <root@cc.fh-lippe.de>
1999-01-10 11:18:59 +00:00
John Polstra
af0ae9b1c2 share/examples/kld/misc -> share/examples/kld/syscall
Fixes make installworld breakage.
1999-01-09 21:47:01 +00:00
Jordan K. Hubbard
a306e6b50e back out previous commit - it's only part of the required process so
we might as well automate both steps at once and just leave this off
by default.

Pointed out by:		Steve Kargl <sgk@troutmask.apl.washington.edu>
1999-01-09 01:17:41 +00:00
Jordan K. Hubbard
4c581c3b33 Sneakily make linux=YES by default and hope that nobody notices. 1999-01-08 23:47:28 +00:00
Hellmuth Michaelis
c999877cc4 add generation of ISDN (i4b) devicefiles 1999-01-08 16:03:57 +00:00
Kazutaka YOKOTA
9620286730 Added kbd*. 1999-01-06 16:18:05 +00:00
Peter Wemm
0dbed541fe We load kld's in preference to LKM's, these do not need the root fs to be
read/write to load.
1999-01-06 14:01:52 +00:00
David E. O'Brien
cc38765f63 make comments more consistant 1999-01-06 02:44:29 +00:00
Bill Fumerola
4ddb8ecc9e Missing word. (in comments, non-destructive bug) 1999-01-04 21:21:10 +00:00
Jordan K. Hubbard
539fb1799a Allow rwhod to take flags.
PR:		7705
Submitted by:	Johan Karlsson <k@numeri.campus.luth.se>
1999-01-03 22:19:23 +00:00
Nick Hibma
0d3c3d3942 Corrected the major number for usb and added ums as major 111 1999-01-03 16:48:03 +00:00
Bill Fumerola
0a54a0549a UUCP Cleanup should be done by the UUCP user.
PR:		bin/7749
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1999-01-01 21:07:39 +00:00
Bill Fumerola
54724311ee Make periodic(8) and the security mailings reflect the full FQDN, as opposed
to a hostname. This will help those who keep a cluster of machines all with
the same hostname but different domain names.

PR:		bin/9091
Submitted By:	Heikki Suonsivu <hsu@clinet.fi>
No Response From: -current mailing list
1999-01-01 17:37:33 +00:00
Peter Wemm
cc85444017 Reconnect pcvt hooks..
Reviewed by:	core
1999-01-01 08:45:44 +00:00
Dmitrij Tejblum
2d31381a1f Add entry for rusiian FAQ. 1998-12-30 09:50:43 +00:00
Tim Vanderhoek
87f8ef1e23 Slightly clarify wording of "Example". 1998-12-29 22:17:31 +00:00
Chris Timmons
240d6d79b1 Don't set a MANPATH by default for users who aren't in a login class.
man(1) will utilize manpath(1) if MANPATH is unset in the environment,
and with our existing manpath.config it is enough to find the X11
pages among others.

	PR: 8587
	Submitted by: Marc Slemko <marcs@znep.com>
1998-12-27 23:55:01 +00:00
Jordan K. Hubbard
96d5e20872 Update comment for saver variable now that its changed its function
(and list of available values) somewhat.
1998-12-27 23:00:18 +00:00
Dag-Erling Smørgrav
64bec931fc List the warp screensaver along with the others. 1998-12-27 22:04:12 +00:00
Poul-Henning Kamp
1767866e4d follow up to:
Pre 3.0 branch cleanup casualty #4: pcvt
1998-12-27 16:44:24 +00:00
Matthew Dillon
35fb56f97e Add (commented out) directive and note regarding dumpfile location
when running in a sandbox.

Submitted by:	Ben Smithurst <ben@scientia.demon.co.uk>
1998-12-23 06:06:13 +00:00
Jordan K. Hubbard
c9f66c3bfe Add /usr/share/examples/bootforth so that world builds don't start falling
over.

Forgotten by:	abial :-)
1998-12-22 12:33:32 +00:00
Matthew Dillon
eb127873d5 Take bind out of sandbox and run it as root again, but leave support
mechanisms ('bind' user and group) in place so the feature can be easily
    turned on.  There were too many complaints.  The security(1) man
    page will be created/updated to include the appropriate info.
1998-12-19 07:25:56 +00:00
Satoshi Asami
3a5dbbd324 Add share/emacs/site-lisp. Too many things break without it.
Reviewed by:	ports list (a long time ago)
1998-12-18 08:06:34 +00:00
Guy Helmer
dc1ab7da41 Document securelevel 3.
PR:		docs/8674
1998-12-16 17:14:16 +00:00
Peter Wemm
c399ed564c Old nit lying around in a source tree: Slightly optimize the number of
uname/gname overrides and /sets.
1998-12-16 05:50:25 +00:00
Peter Wemm
0ee4ff6f20 Old nit lying around: Don't override the gname when it's the same as the
previous /set.
1998-12-16 05:47:53 +00:00
Peter Wemm
c32e8ac670 Old stuff laying around: Don't override /tmp to the same uid/gid as the
previous /set defaults
1998-12-16 05:45:58 +00:00
Matthew Dillon
dbd50bbc53 Added /usr/share/examples/portal to mtree 1998-12-16 05:01:44 +00:00
Mike Smith
a66325ee96 Add another modem (Psion Dacom)
Submitted by:	"Gary Palmer" <gpalmer@FreeBSD.ORG>
1998-12-15 02:57:30 +00:00
Matthew Dillon
0c2383102b More locale directory structure updates for DIS_8859-15 1998-12-14 08:06:57 +00:00
Matthew Dillon
b76ad1a32a Fix installworld, forgot directories for locale DIS_8859-15 1998-12-14 07:44:47 +00:00
Matthew Dillon
d749f6f64f Remove rc.local (now deleted from CVS tree) from Makefile. 1998-12-14 02:01:22 +00:00
Matthew Dillon
86fba2f5a6 Grrr. removed. backed out. sorry. 1998-12-13 04:38:28 +00:00
Matthew Dillon
0c7b9cbdb0 This needs to be commited now to fix usbd for make world 1998-12-13 04:31:15 +00:00
Matthew Dillon
416db1f243 Reviewed by: cvs-current
Delete rc.local from CVS tree, its remaining functionality has been
    moved to /etc/rc.  /etc/rc still supports an rc.local but it is now
    a 100% user-controlled file.
1998-12-12 23:05:22 +00:00
Matthew Dillon
d27356d803 Reviewed by: cvs-current
Commit changes to rc and rc.local, removing the remaining minimal
    functionality of rc.local into rc and commenting it out of rc.local
    prior to the deletion of rc.local from the CVS tree.
1998-12-12 23:04:21 +00:00
John Birrell
73c84e252e Back out revs 1.181 and 1.182 which upset a few people. I hope those
(3?) people will make an effort to help those who would have benefitted from
this change. And just telling them that they should read and understand
the significance of each message posted to -current is not really good
enough IMHO.
1998-12-12 22:00:49 +00:00
Doug Rabson
2d58f2447f Add directories for KLD examples. 1998-12-11 10:45:29 +00:00
John Birrell
62bf5779e7 Should be sysctl -n. Yesterday wasn't one of my better days. Doh.
Reported by: Ben Smithurst & Makoto Matsushita
1998-12-11 08:25:12 +00:00
John Birrell
1e8cf44a58 Change to the current directory before doing the install. I !love make. 1998-12-11 00:09:39 +00:00
John Birrell
ad06d8fc41 Add a test for hw.machine == i386 before trying to run ldconfig for
legacy aout support.
1998-12-10 08:06:59 +00:00
John Birrell
e151cd1901 Add logic to check if any of the BIN1 files do not already exist in
${DESTDIR}/etc and an install target to install the missing ones. This
allows new files like pam.conf to be installed by the first installworld
after the file is added, but avoid clobbering files that might be
customized. This should save some support questions.
1998-12-10 05:34:11 +00:00
Matthew Dillon
cc6fef08db Since we do not pre-create /etc/namedb/s, add additional documentation
to the comments in named.conf to describe to the user how to create it.
    (named.conf does not use /etc/namedb/s by default anyway so us not
    pre-created it in the mtree does not hurt us terribly).
1998-12-02 19:59:24 +00:00
Matthew Dillon
cc0130a2a3 Remove mtree creation of /etc/namedb/s until we find a good way
to handle new user id's in buildworld/installworld.
1998-12-02 19:57:20 +00:00
Andrey A. Chernov
559fcf9493 Use /sbin/nologin as shell for operator
Replace non-existent directory for operator with /
Supply by default operator with non-existent but can be created directory
and /bin/csh is kinda security risk
1998-12-02 15:17:10 +00:00
Matthew Dillon
822ef72a9d comsat sandbox prevents biff/comsat from being able to print partial
mailbox contents.  comsat instead simply prints that new mail is
    available.  Add appropriate comment to inetd.conf but leave comsat in
    sandbox.
1998-12-01 22:01:59 +00:00
Matthew Dillon
128272b8c5 Reviewed by: freebsd-current, freebsd-security
Adjust rc.conf to run named in sandbox, adjust mtree to add /etc/namedb/s
    subdirectory (user bind, group bind) to hold secondaries, adjust
    comments in named.conf to reflect new secondary scheme.  (Note that
    core read-only zone files are left owned by root, increasing security even
    more).
1998-12-01 21:36:33 +00:00
Matthew Dillon
ac48aa416a Added group bind(53), added sandbox users tty(4), kmem(5), and bind(53),
adjustd inetd.conf to run comsat and ntalk from tty sandbox, and
    the (commented out) ident from the kmem sandbox.

    Note that it is necessary to give each group access it's own uid to
    prevent programs running under a single uid from being able to gdb
    or otherwise mess with other programs (with different group perms) running
    under the same uid.
1998-12-01 21:19:49 +00:00
Joseph Koshy
8dbc5051b3 Direct std{err,out} to /dev/null when invoking sysctl(8) for setting
`nfs_access_cache_timeout'.

Submitted by:	Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
1998-11-27 07:06:11 +00:00
Mike Smith
22d30a8a1b Don't suggest that NO is allowed here; you use "0" or "" to turn the cache
off.
Submitted by:	jdp
1998-11-25 21:16:43 +00:00
John Polstra
d08484e099 Add a sample "/etc/pam.conf" file that configures the authentication
methods used by login.  Changes to "/usr/bin/login" to use it will
be committed later today.  The format of the file is described in
pam(8).

This sample file makes login behave in the traditional way.  To
wit, it enables authentication via S/Key and passwd/NIS lookups.
KerberosIV authentication is present in the sample file but commented
out.

As a safety net and a transition aid, login will fall back on
built-in passwd/NIS authentication if this configuration file is
missing or if some other fatal PAM error occurs.

This file will eventually replace "/etc/auth.conf", but not until
I've finished converting the other utilities, such as passwd and su.
1998-11-20 23:20:01 +00:00
David E. O'Brien
4e6fcaf46f Bad default value of ${fs} for type:=host in /etc/amd.map.
PR:		conf/7054
Submitted by:	Amakawa Shuhei <amakawa@sf.t.u-tokyo.ac.jp>
1998-11-20 07:36:29 +00:00
John Polstra
ae5fd90c74 Add the directory "/usr/include/security", which is where the PAM
header files go.  I am not too happy about the name.  But if we are
to have any hope of being able to use 3rd party PAM modules, we'll
have to live with it.
1998-11-18 01:51:25 +00:00
Jordan K. Hubbard
ff6301aaf3 put hosts before bind. 1998-11-16 02:02:30 +00:00
Mike Smith
cda43ef612 Implement the nfs_access_cache variable, allowing us to set the timeout for
the NFS client's ACCESS cache.
1998-11-15 20:30:04 +00:00
Nicolas Souchu
d551f05381 Arrg, ppi*) corrected 1998-11-12 22:48:16 +00:00
Nicolas Souchu
5f3f114afa Add ppi*) iic*) and smb*) 1998-11-12 22:45:24 +00:00
Peter Wemm
29ddf71810 kldload the screen savers 1998-11-11 05:25:32 +00:00
Peter Wemm
2bfb2faded kldload ipfw, it's installed always and works on both kernel formats 1998-11-11 05:23:44 +00:00
Brian Somers
d7264d6e3a Suggest using ``iface clear'' under certain circumstances
in ppp.linkdown.
1998-11-05 23:14:19 +00:00
Poul-Henning Kamp
83713d0b04 Add example for the internal "ident server". 1998-11-04 19:42:35 +00:00
Poul-Henning Kamp
5707e03c5f Move the "root" entry up so people can see it. 1998-11-03 08:14:38 +00:00
Wolfram Schneider
de4f843d24 Write temp files with a uniq name into /var/run
instead the public writable directory /tmp
PR:	 conf/8330
1998-11-01 13:04:15 +00:00
David E. O'Brien
255e0e14be Backout rev 1.175. 1998-10-31 05:27:02 +00:00
David E. O'Brien
5b3ac95f28 ``MAKEDEV ccd3'' is now consistant with many of the other devices in that
*ccd{0,1,2}* will be created.
1998-10-30 06:02:48 +00:00
David E. O'Brien
ff51c4f27c ``MAKEDEV bpf3'' is now consistant with many of the other devices in that
bpf{0,1,2} will be created.
1998-10-29 22:16:29 +00:00
Peter Wemm
0bf607e3dd Some directories would like to install things into /modules 1998-10-17 01:21:35 +00:00
Peter Wemm
537aa6857b Commented out example of changing the default kernel format with warning. 1998-10-16 03:26:54 +00:00
Nate Williams
58645a5596 - Add a couple comment lines to note that spaces are not allowed as
field separators.

PR:		conf/8162
Submitted by:	Sheldon Hearn <sheldonh@axl.training.iafrica.com>
1998-10-14 21:59:55 +00:00
Jordan K. Hubbard
4216dc7f84 Shut this thing up; most people don't even have this enabled. 1998-10-13 08:25:09 +00:00