Commit Graph

857 Commits

Author SHA1 Message Date
mikel 71d389d416 include hostname in subject of email with results of running *ly
scripts; from Jim Bernard in PR misc/3996
1997-08-20 07:18:41 +00:00
veego 94c1e883f6 Added missing en$name$unit entry for the chmod command in ss*).
Noticed by Luke Mewburn on tech-security.
1997-08-19 18:39:56 +00:00
lukem a563ca4687 As per [bin/1814] from Arne Juul <arnej@imf.unit.no>, and discussions
with matt green <mrg@netbsd.org> (to shut up /etc/security)
* set ingres account shell to /sbin/nologin
* set ~daemon to / (not /root)
1997-08-19 15:07:12 +00:00
lukem 67087092d4 remove incorrect vn* entry, as vnd* exists and vn* doesn't work anyway 1997-08-19 13:33:04 +00:00
lukem 0f26a04544 * ensure that check for '.' in root's $PATH doesn't yield a false positive.
fix from Jim Bernard <jbernard@tater.mines.edu> in [security/3995]
* detect empty :: elements as '.' in a sh(1) path (leading :, trailing :,
  or ::)
1997-08-19 12:08:35 +00:00
augustss 912c4ee11f Create /dev/audioctl and allow creation of multiple audio devices. 1997-08-18 21:23:12 +00:00
cjs d10a9ab09b Move ntpdate before `starting network daemons' to get cleaner output
during boot. Besides, it's not a daemon anyway.
1997-08-05 03:32:51 +00:00
lukem edbafa0300 4.4BSD has the ability to automagially add a route to localhost from
an interface to first time its address is referenced.  Therefore:
* configure lo0 before all other interfaces (rather than afterwards).
* don't explicitly add a route from `hostname` to localhost
1997-08-04 06:09:49 +00:00
perry e77a6f04d3 Finally finish fixing pr-230 by assigning minor+8 and minor+16 device
names for the lower density minor dev numbers. My shell code would
even work for a wt1 device, but I would seriously pity anyone trying
to get two of these things to work on one machine. Heck, no one should
even try to use ONE wt device.
1997-08-04 03:50:26 +00:00
perry 2a376043c7 add apmd to /etc/rc and /etc/rc.conf per Lennart Augstsson in pr 3313 1997-08-03 22:24:20 +00:00
leo b9906e7600 Use DISKUNIT macro to encode md's unit in the minor number. 1997-08-01 19:38:30 +00:00
perry 07a71fdfd0 Make MAKEDEV and MAKEDEV.local mutually consistant. Reported in
pr #2596 by Tatoku Ogaito, but my fix is different from his.
This is purely an aesthetic change.
1997-07-31 04:08:15 +00:00
perry e53ae14bdd Fix boot time vi recovery as reported by NAKAJIMA Yoshihiro in pr-3430
Really weird bug. On inspection, the shell code in rc looked fine, but
when tested, sure enough, the semantics of the shell were not what I
thought they were. Very unexpected to me, and obviously to the
hundreds of people who must have read those lines without seeing that
they were broken.
1997-07-31 03:35:39 +00:00
perry 7bd6622ead make some items 'optional' -- per pr-3663 from Erik Bertelsen 1997-07-31 03:03:13 +00:00
mark 0c0a1966bb Use the Pc entry from gettytab for our virtual terminals. 1997-07-31 02:34:18 +00:00
perry ea4d1ded44 1) close my own pr-2502 by adding ce and ck to default
2) substantial cleanup. In particular, I got rid of lots of
   egregiously obsolete entries, and I got rid of obsolete
   capabilities in the only mostly obsolete entries, etc.
1997-07-31 00:38:30 +00:00
perry 9dee21c94e add a default minfree file (requested by David Brownlee, pr-1577) 1997-07-30 22:17:55 +00:00
phil 851aef5327 Add ta=4.2BSD to both floppy3 and floppy5 entries. (If you are
disklabeling your floppy, you are most likely putting on a 4.2BSD
file system.  This is in support of the distrib/i386/floppies
building via vnds.)
1997-07-29 18:46:06 +00:00
mark fb64b594bc Added a ramdisk option to build all the devices needed for an install
ramdisk.
Reformatted a couple of lines.
1997-07-28 17:41:59 +00:00
mark b7b4948831 Added swap entry and a nice set of comments. 1997-07-28 17:38:45 +00:00
phil ffde90f14b Make all tty??/pty?? pairs that can be opened by openpty().
Remove use of awk for generating names.
Make all consistent as possible.
Closes PR 3420.
1997-07-23 01:29:36 +00:00
phil 840d172649 Make all MAKEDEVs make fd/* similar. No need for awk or expr.
Inspired by PR 3420.  Some MAKEDEVS had the fd separated out
of std and fd added to std.
1997-07-22 23:13:05 +00:00
phil 779c94c7af Allow routes to be flushed in netstart (rc.conf option, default YES).
PR 3228.
1997-07-22 18:41:08 +00:00
perry 1edc7aef02 fix 3885 from Matthias Scheler -- print out the name of each loaded module 1997-07-18 23:38:52 +00:00
phil a621321b0e Add /usr/share/sendmail/cf that got missed in original addition of
/usr/share/sendmail/*.  Closes PR 3881.
1997-07-17 20:45:01 +00:00
mark 237e1b7fb6 Create wd2 and wd3 device files for 'all' and 'floppy' options. 1997-07-17 00:12:55 +00:00
phil bc41d19ad5 Add /usr/share/sendmail tree to distribution. 1997-07-16 23:33:59 +00:00
veego fb68fae55e Move savecore up before named to get a dump on low memory systems and
move 'mount -a' between yp and nfs daemons.
1997-07-15 11:19:20 +00:00
drochner 4e045b6b43 Take 2 to get the mount order "right", taking care of possible LKM
loads before netstart this time.
LKMs can be loaded at 3 strategic places in /etc/rc - before netstart,
before "mount -a" and after all. "before netstart" works only if
the /usr filesystem is local (or on NFS, if root is too).
An additional field ("when") in lkm.conf controls when the LKM is
loaded.
1997-07-14 11:55:44 +00:00
hpeyerl 93f2294467 Satellite receiver driver for ISA cards from PlanetConnect by Jason and
Herb for Canada Connect Corp.
1997-07-13 19:29:17 +00:00
hpeyerl 91e0832cae Satellite receiver driver for ISA cards from PlanetConnect by Jason and
Herb for Canada Connect Corp.
1997-07-13 19:16:59 +00:00
veego a6fe27dced Back out the last two commits for now till we find a better way to fix
the mount problems.
1997-07-11 12:01:06 +00:00
veego 6553fa7064 rc.lkm needs /usr/bin/ld, so try to mount it with -t nonfs before rc.lkm. 1997-07-11 09:06:59 +00:00
phil ce3196e8dd Allows root to specify a MAILTO and have the security report mailed to
the same user as the daily output.  If $USER is not root or MAILTO is
not set, MAILTO is set to root.  Closes PR 2409.
1997-07-11 00:36:55 +00:00
drochner d9dfde6362 Mount only "/" at the beginning (instead of all non-NFS filesystems).
This makes that the ordering of fstab is used for mounts which is
a) more intuitive and b) needed if {mfs,union,...} on top of NFS
is wanted.
1997-07-10 13:43:14 +00:00
mikel 34164c8eea make toor's shell explicit to shut up /etc/security 1997-07-10 06:38:35 +00:00
veego 0307359cda Added new device entries for ipfilter: /dev/{ipnat,ipstate,ipauth} 1997-07-07 22:29:35 +00:00
veego a902cc2ba7 Added a new device entry for ipfilter: /dev/ipauth 1997-07-07 22:26:51 +00:00
christos ea18ad7974 Run ntalkd as nobody.tty 1997-06-29 19:20:20 +00:00
kleink 44de15e66c Create ./usr/share/man/{cat,man}3/i386; from Anders Hjalmarsson
<Anders.Hjalmarsson@economics.gu.se> in PR misc/3794.
1997-06-26 21:20:19 +00:00
thorpej 650e452081 Before disk checks are performed, do a "swapctl -A -t blk" so that
block-type devices are available during disk checks, which may consume
large amounts of memory if large file systems are present.  Once "critical"
file systems (e.g. /usr and /var) are mounted, perform a "swapctl -A -t noblk"
to enable swapping on any swap files that may be listed in /etc/fstab.
1997-06-25 23:30:28 +00:00
mrg 790379bb6e add man5/i386 (noted by erik fair) 1997-06-24 04:23:32 +00:00
lukem fb34424eb0 * when checking /etc/master.passwd, read in /etc/shells for a list of
valid shells and then check each active account against that
* remove unnecessary ()s in a few printf's.
1997-06-24 02:32:38 +00:00
lukem ff2ea5d139 * take advantage of xargs -0 when finding devices and set?id files
* use 'ls -q' in the above, so that characters that may cause problems
  in the output are replaced with '?'
1997-06-24 01:16:47 +00:00
lukem d0b6172bfe Also check /etc/profile for setting of umask.
From Chris Jones <cjones@rupert.oscs.montana.edu> in [misc/3763]
1997-06-23 11:59:30 +00:00
lukem b07aea8e1c Ignore blank lines and comments in /etc/exports
From Jaromir Dolecek <dolecek@moria.ics.muni.cz> in [misc/3691]
1997-06-23 01:49:15 +00:00
lukem f067035d68 Add output of `uptime` to report.
From Hubert Feyrer <feyrer@smaug.fh-regensburg.de> in [bin/3220]
1997-06-23 01:45:21 +00:00
mrg 537136a76e add man8/sun3x, man1/i386 and man1/x68k entries. 1997-06-22 06:36:30 +00:00
mrg 9345f4e581 add man8/mvm368k directories. 1997-06-22 06:24:35 +00:00
mrg cbb4fa0bad add man1/atari directories. 1997-06-22 05:44:09 +00:00
veego 4056cdf683 Add a comment that you now must have swap entries to satisfy swapctl(8)
and add a swap entry for sd0b (copied from the i386 fstab.sd).
1997-06-21 15:40:03 +00:00
mikel 08146f8adc add /etc/profile 1997-06-21 06:10:03 +00:00
mikel 8736878363 add sample /etc/profile, cribbed shamelessly from csh.login. consists
solely of comments.
1997-06-21 06:07:38 +00:00
phil 0ed99f5f61 Correct cdev/bdev for cd*. 1997-06-18 21:09:36 +00:00
perry 0bea2a15f6 Note that you now must have swap entries to satisfy swapctl(8) 1997-06-16 00:58:49 +00:00
is 49e47cbf67 Build device nodes for audio device(s). Currently, only unit 0 == custom chip
audio.
1997-06-14 22:43:47 +00:00
mrg 277b52f964 use swapctl instead of swapon 1997-06-12 15:18:58 +00:00
jonathan 7945d5eccd Move sample configuration files for ultrix, sv4 compatiblity from
src/etc/etc.<emul>/ to src/share/emul/<emul>/etc/
1997-06-08 23:31:13 +00:00
jonathan 10efce06ab Sample /emul/ultrix/etc/svc.conf file for Ultrix compatiblity. 1997-06-08 09:10:21 +00:00
leo 6360466b8b Add ipfileter stuff. 1997-06-02 20:46:26 +00:00
thorpej 830bea2938 Add ipl, ipnat, and ipstate devices at the appropriate minors of
cdev major 7.
1997-06-01 09:23:57 +00:00
thorpej 4baed972cd Add ipl, ipnat, and ipstate devices at the appropriate minors of
cdev major 91.
1997-06-01 09:12:02 +00:00
oki 6806df2da7 Add ipl device 1997-06-01 01:23:36 +00:00
thorpej 7f29bb4668 Add ipnat and ipstate at the appropriate minor numbers off the ipfilter
device.
1997-05-31 23:52:55 +00:00
cjs 7a66732d34 Back out BUILDDIR and NOINSTALL changes. 1997-05-31 21:21:13 +00:00
mikel d351214af2 bug fix and improvements, mostly from Enami Tsugutomo in PR misc/3681. 1997-05-30 05:18:59 +00:00
perry b19dbed52b update to version of May 19, 1997 1997-05-29 01:52:25 +00:00
leo 7b5d0624c9 Add device for new serial port. 1997-05-27 07:05:50 +00:00
cjs 5fd7ce7066 These updates to the build allow building against include files
and libs in the object tree, if you use a separate object tree,
while maintaining backward compatability with other build methods.
See the notes in src/share/mk/bsd.README for full details. Note
that the `make includes' target now only installs the include files
in the build directory (if you use one--otherwise they go in DESTDIR
just like before); `make install' will install include files in
DESTDIR.
1997-05-26 03:55:19 +00:00
kleink 7f69979797 Create /dev/ttyaN device nodes for Frodo-based APCIs. 1997-05-23 11:20:27 +00:00
cjs 4112a161ec Back out last commit; bug was fixed in 1.37, but differently. 1997-05-22 21:41:09 +00:00
cjs ab82fdc6b5 The interface setup loop was adding every interface in `ifconfig -l`
to $configured_interfaces because it never checked to see if if it
actually configured that interface. For this reason it was setting
$configured_lo0 as well, so that never got configured, causing all
sorts of problems.
1997-05-22 21:29:49 +00:00
jeremy 7c78d92d27 Forgot 'cat' directories. 1997-05-21 22:50:12 +00:00
jeremy 768be5bb21 Added architecture dependent subdirectories to man9. 1997-05-21 22:46:08 +00:00
lukem c7acdd0732 Change interface config test so that the loop is always continued
if the interface wasn't configured, so that $configured_lo0 and
$configured_interfaces won't get incorrectly set if $net_interfaces ==
DEFAULT. From enami tsugutomo <enami@ba2.so-net.or.jp> in [misc/3635]
1997-05-17 14:12:24 +00:00
lukem 1b063db228 wrap $configured_lo0 in quotes, so that it doesn't barf if it's not set.
noticed by Thorsten Frueauf <frueauf@ira.uka.de> in [misc/3620]
1997-05-15 02:09:27 +00:00
lukem c20c8f0d8d fix up minor typos in comments 1997-05-12 23:40:50 +00:00
lukem 54e2fe6d7e provide empty settings for $hostname, $domainname and $defaultroute,
with comments indicating alternation locations for info
1997-05-12 11:33:31 +00:00
lukem 1775d86183 * add support for $hostname, $domainname, $defaultroute and $ifaliases_XXX
* only configure lo0 if not configured by the "configure interface" loop
1997-05-12 11:26:10 +00:00
mikel 1e90223347 ntpdate is not a daemon, and add comment for kerberos_server 1997-05-12 05:00:13 +00:00
cjs 0dd1ac7fc9 Make xntpd put its pid in /var/run/xntpd.pid. 1997-05-11 05:08:16 +00:00
gwr 538bd898e9 add /dev/leds 1997-05-06 18:42:27 +00:00
scottr bf904a4665 Spawn a separate shell for netstart, making sure to check the return value
and exit with error if appropriate.
1997-04-29 04:58:38 +00:00
scottr a35572dc38 Source rc.conf to pick up network-related configuration variables. 1997-04-29 04:55:05 +00:00
perry 36b2c99667 Add support for an ntpdate_hosts variable.
settings:
	NO:	don't run ntpdate on boot
	DEFAULT:extract a list of hosts from /etc/ntp.conf
	otherwise, a list of hosts to poll with ntpdate
1997-04-27 23:17:56 +00:00
mikel 93d6d76d2b /usr/games/hide is owned by games.games, /usr/src has mode 755,
/var/at is owned by root.wheel.
1997-04-25 06:58:52 +00:00
mikel 6b7ae36087 /dev/fd should be owned by root.wheel, mode 755 (like /dev)
add 'ignore' tag for /usr/src
tabify, always give uname before gname, octal modes have leading 0
1997-04-25 06:57:23 +00:00
mellon cd9ae1f9a8 Document dc flag and use it for hardwired lines. 1997-04-24 00:35:47 +00:00
perry 889bcd37bc make motd update conditional on an rc.conf variable (update_motd), and
move it before interactive logins are possible (just in case).
1997-04-23 01:24:22 +00:00
mycroft d8dcc6580c Don't list directories with the setuid bit set or FIFOs. 1997-04-21 17:38:39 +00:00
mycroft df1a64b9f5 Minor cleanup. 1997-04-21 11:19:57 +00:00
mycroft 4a0848acd9 When doing security checks in user home directory, sort by home directory, to
optimize lookups a little.
Also, add some more files to the naughty lists.
1997-04-21 11:14:41 +00:00
perry 8c70b4d638 move last items from rc.local to rc; rc.local is now actually for local stuff. 1997-04-19 03:10:57 +00:00
mikel cae2f3b253 make /etc/aliases check a bit more discriminating: the line must be
uncommented, and it must contain a '|' character (forwarding to program).
1997-04-17 07:42:07 +00:00
pk c8f5ee730d Add sound & mixer device nodes (Jesper Nilsson; PR#3342) 1997-04-16 23:19:25 +00:00
mrg 046720d7d4 disable decode: alias. 1997-04-16 01:36:15 +00:00
cjs c19956dcd1 Update for recent changes to ftpd(8). 1997-04-06 07:53:20 +00:00
leo 96ba57bbba Also generate the wd device nodes. 1997-04-04 21:00:53 +00:00
kleink 47f9ae0ae6 mountd was moved to /usr/sbin ; pointed out by Thorsten Frueauf. 1997-04-03 11:00:16 +00:00
perry 3deb2910ff Add /var/log/authlog and /var/log/xferlog.
The permissions and especially ownerships of all the /var/log files
should be re-examined -- bin:bin really isn't right for these files.
1997-04-02 05:23:49 +00:00
cjs 1470f854b3 Move network interface config after programs run on boot-up, to match
the order this actually happens in at boot time.
1997-04-02 01:59:04 +00:00
perry 680e326705 Change the way interfaces are configured on startup.
We no longer do /etc/hostname.* files, we do /etc/ifconfig.* files
instead, which contain lines each of which is fed to
ifconfig in turn. A new variable, net_interfaces, controls which
interfaces get brought up, by default, ifconfig -l is used to find a list.
1997-04-01 19:36:17 +00:00
mycroft 6f6e264129 Use a shell loop to build fd/*, rather than an awk script. 1997-03-31 21:28:24 +00:00
mycroft 736a7ada1e Unroll the pty creation loop. 1997-03-31 21:23:34 +00:00
veego 640697a2be Flush old filter rules and enable ipf again after the fix for
src/sys/netinet/ip_fil.c revision1.7
1997-03-30 19:08:14 +00:00
mikel a38935b7bf /etc/netstart doesn't need to be executable.
use four digits for all of the modes.
1997-03-26 07:41:55 +00:00
perry 9e2aafedeb remove chroot on pwd_mkdb -- use -d option instead 1997-03-24 18:10:00 +00:00
cjs 7819184cce Re-ordered and added comments to match new rc.conf.5. 1997-03-23 07:57:24 +00:00
cgd 1d27905d84 fix bogon in the ImageDisk entry, add an entry for 3.5" floppies (useful
for making floppy images w/vnd).
1997-03-18 19:55:00 +00:00
sommerfe 80dde71f07 Add assigned numbers for ipsec and ipv6 protocols 1997-03-18 03:49:39 +00:00
thorpej 2c8588d217 Add the "se" device. 1997-03-18 01:43:51 +00:00
cjs ec30dbdca7 Added mopd. 1997-03-17 00:02:02 +00:00
mycroft 064ae677a0 Use 8 bits by default. 1997-03-14 20:41:51 +00:00
perry a8e367fd64 renamed to NetBSD.dist 1997-03-13 04:34:14 +00:00
perry 9eac259efc mtree/4.4BSD.dist -> mtree/NetBSD.dist 1997-03-13 04:32:11 +00:00
perry 7f3db6ce0d add cat8/pmax and man8/pmax 1997-03-13 03:36:59 +00:00
mycroft 100297bdf2 Eliminate another `X'. 1997-03-12 19:23:32 +00:00
mycroft 2564c9e659 When displaying the names for statd and lockd, include the `rpc.'. 1997-03-12 19:21:26 +00:00
mycroft 773a52a313 Add . GC , which isn't used. 1997-03-12 19:15:16 +00:00
mycroft 0e6463ba0a Do the DEFAULT thing with mountd_flags. Don't output an extra
newline for statd and lockd.
1997-03-10 10:15:11 +00:00
mycroft 814cb67087 Minor cleanup. 1997-03-10 09:45:58 +00:00
mycroft 40202c2514 Minor cleanup. 1997-03-10 09:34:59 +00:00
mycroft 2069c0127b If foo_flags is DEFAULT, run the program with a default set of flags. Most
users will use this, and therefore will never have to worry about flags
changing between releases.  It's also a bit less error-prone.
1997-03-10 09:16:13 +00:00
scottr ba3dca973c Add configuration flags for lockd/statd, and start them if an
NFS server or client is configured and the flags are not NO.
1997-03-10 06:32:37 +00:00
mikel 8a50dcb5df eliminate dangling references to config.old;
from Klaus Klein in PR misc/3295.
1997-03-06 23:41:22 +00:00
mikel d015ce73e5 GENERIC{AHA,OTHER} have been merged into GENERIC; fixes PR port-i386/3274. 1997-03-04 06:30:01 +00:00
mikel bd39709bf4 undo last change; we do use krb4 and we do need these files.
add RCSID to README.
1997-02-26 05:37:04 +00:00
mikel 4c965051fa clean up remnants of kerberosIV from Lite2. we use kerberos5, which
lives in src/domestic.
1997-02-26 05:04:45 +00:00
mikel 1e59980d14 merge in 4.4BSD-Lite2 changes. only SCCS IDs were changed, since all
of the lite1-lite2 differences were either already present or
inappropriate.
1997-02-25 07:37:19 +00:00
mikel a22d6abc89 import 4.4BSD-Lite2 1997-02-25 07:12:42 +00:00
cgd cf4d64cd22 add a couple more useful entries 1997-02-24 17:31:31 +00:00
mikel 724ccf9f91 Merge in some changes from Lite-1:
- send mail.crit to console
- add comment re: authpriv
- add sample line for UUCP (commented out)
1997-02-21 09:04:26 +00:00
mikel 57a32a3776 merge lite-1 changes (ftpwelcome, .klogin perms).
also eliminate redundant copy of motd.
1997-02-21 08:14:08 +00:00
scottr 60474c3689 Whoops. That's asc0, rather than simply asc. 1997-02-19 07:53:42 +00:00
perry 94dd59b832 Update to Jan 22, 1997 version from InterNIC 1997-02-18 19:38:10 +00:00
mikel 4f1732c6e0 remove leftovers from lite-1 merge. 1997-02-16 08:17:22 +00:00
matthias 1861a56874 Add /dev/ipl. 1997-02-15 10:28:13 +00:00
mikel ef538c3176 cleanup Lite-1 merge 1997-02-15 10:02:07 +00:00
mikel ae06cfb1cf import 4.4BSD-Lite 1997-02-15 05:27:21 +00:00
mikel 5b5eddafe2 Don't leave logs in /etc/mtree; from Andrew Wheadon in PR misc/3106.
Also fixed some comments.
1997-02-14 08:52:05 +00:00
scottr 6b91a6b891 Add asc device 1997-02-11 08:01:03 +00:00
pk e55f4e99bf Missing `)'. 1997-02-10 00:19:08 +00:00
mrg ffabdc3a7a oops; use $savecore_flags. from kilbi@rad.rwth-aachen.de 1997-02-07 08:59:18 +00:00
ragge 4ffaf6dd1c Add device nodes for DL11. 1997-02-04 19:24:36 +00:00
cgd 5e3479c300 clean up slightly, add wd and fd (even though they don't have drivers in
the kernel yet).
1997-02-03 20:11:09 +00:00
mark 77a2b28277 Add disktab entry for mdroot and miniroot. 1997-02-03 02:51:51 +00:00
mrg b4891ddaae don't need -E to ipf. 1997-01-28 06:33:36 +00:00
scottr 3fb4736258 ipl is device major 35, not 36. 1997-01-26 08:11:21 +00:00
briggs c794772836 PTY Master is 5, slave is 4. This has been wrong for a long time. How? 1997-01-22 19:31:37 +00:00
mikel 85e2541022 install namedb files from subshell so distribution target will work
with -j; from PR misc/3116
1997-01-22 04:10:42 +00:00