Commit Graph

66 Commits

Author SHA1 Message Date
elric
98839fb386 Added cgd rc.d script and put it in the appropriate postinstall and
mtree files.
2002-10-09 14:55:53 +00:00
perry
64d38d7104 add wtmpx 2002-09-16 02:36:53 +00:00
abs
df86ef5a9f Split raidframe parity checking/rebuild out into raidframeparity, which is
called after quota so we don't end up with fsck and raidframe parity rebuild
taking forever after a crash/reboot.
While we are here check for raid[0-9].conf & raid[1-9][0-9].conf not
			    raid[0-9].conf & raid[0-9][0-9].conf
2002-09-03 15:35:51 +00:00
wiz
bd93d53f7c Add /var/run/utmpx, requested by soren. 2002-09-03 00:56:08 +00:00
cjs
546cf4d2b0 Add exclude tag to dumpdates so that diffs do not show up in the daily security
report. This file is expected to change daily, and this is not a security
problem. (Also, the most recent dumps are already shown in the daily report.)
2002-08-27 02:01:37 +00:00
lukem
f91d5a2f45 add wdogctl 2002-07-30 09:11:27 +00:00
tron
fbf97bb599 Remove unused user and group "news" as discussed on "tech-userlevel". 2002-07-06 09:27:31 +00:00
yamt
3d67d222ff add wsmoused 2002-07-03 23:29:51 +00:00
jmcneill
fdbb6f9c72 Add mixerctl rc.d script. 2002-06-02 18:38:35 +00:00
lukem
244b762de1 Complete the conversion back to the OpenSSH default configuration files of
"/etc/ssh/ssh_config" (from "/etc/ssh/ssh.conf") for ssh(1) and other
userland tools, and "/etc/ssh/sshd_config (from "/etc/ssh/sshd.conf")
for sshd(8).

etc/postinstall will detect this, and if "fix" is given, rename the files.
2002-04-29 08:23:34 +00:00
lukem
21d59649a5 add (optional) etc/postinstall 2002-04-29 07:28:27 +00:00
lukem
5260db633f etc/ssh is mode 0755 not 0644. Noted by Toru TAKAMIZU on current-users. 2002-03-27 07:15:57 +00:00
itojun
f7086ae500 move ssh config file to /etc/ssh 2002-03-22 15:47:01 +00:00
itojun
960e8c173d add postfix config files. PR15659 2002-03-22 04:03:44 +00:00
wiz
a287908210 Mark mk.conf optional, addressing install/15572. 2002-02-24 17:17:48 +00:00
veego
908b0c7ea5 Add ./etc/ipf6.conf 2002-02-19 21:33:13 +00:00
veego
6ff44bd71d etc/rc.d/NETWORK was renamed to etc/rc.d/NETWORKING 2002-02-03 08:33:14 +00:00
lukem
98228effd2 Use "nodiff" instead of "nomail" for the tag which is used to exclude
files from having the changes diff generated.  Suggested by Michael Graff.
2001-10-15 03:00:22 +00:00
lukem
9d713861f1 monitor etc/changelist again 2001-10-15 02:56:42 +00:00
lukem
96a1608ee4 Major overhaul, with help from Andrew Brown <atatat@netbsd.org>.
Features:
- Add a bunch of stuff to /etc/mtree/special to enable removal of
  /etc/changelist:
	- files which we want to monitor for changes but don't want to
	  see the diffs of (master.passwd, ssh_host_key, ...) are
	  tagged with "nomail"
	- files which we don't want to monitor are tagged with "exclude"
	  (such as netgroup.db, kvm.db, ...)
	- monitor /etc/mtree/special.local, /root/.ssh/*
	- remove /etc/changelist, and a bunch of XXX comments
	- use mtree(8)'s -D, -I, and -E to generate lists of files to
	  actually do the changelist stuff on.
	- support /etc/mtree/special.local as an optional user-provided
	  version of /etc/mtree/special (effectively, an enhanced
	  /etc/changelist)
- Add code to monitor: /etc/ifconfig.* /etc/raid*.conf /etc/rc.conf.d/*
  including support for these files being added and removed at will.
- If /sbin/fdisk exists, backup the output of "fdisk $disk" for all
  the active disk drives as part of $check_disklabels
- Check permissions on: ~/.ssh/* ~/.shosts

Details:
- Reorder initialisation of defaults
- Remove special case for /etc/master.passwd "monitor but don't email diffs"
  with general case for other similar files.
- Keep all `autogenerated' files (such as disklabel.*, setuid.current, ...)
  in "$backup_dir/work", to minimise name clashes.
- Add migrate_file(old, new) to do the hard work of migrating files
  from the old `top level' /var/backups mechanism to the `full path'
  mechanism recently added. Use this appropriately.
- Add backup_and_diff(file, printdiffs), to the hard work of backing-up
  and diff-ing files.
- Cleanup use of shell redirects
- /bin/sh supports ~root globbing, so use it.
- Improve umask checking; use awk regex rather than awk math
2001-10-12 05:18:23 +00:00
lukem
ff2aa3f8e8 Take advantage of mtree(8)'s recently added support for absolute paths.
Use a default "/set uname=root gname=wheel".
This drastically reduces the size of the file, as well as making it
far more maintainable. The differences are:
	lines   words  bytes  filename
	  342    1633  16272  special-relative
	  295     998  11971  special-absolute
2001-10-05 16:11:46 +00:00
lukem
451df90b87 add /etc/defaults/*.conf 2001-10-02 03:02:10 +00:00
lukem
937f059e75 remove rule for pkgsrc - we don't have one for any of the other source
directories.   requested in [bin/13818]
2001-10-02 01:21:27 +00:00
lukem
3e5fe9c71e add etc/rc.d/*. fixes [bin/12729] 2001-10-02 01:08:11 +00:00
lukem
10887c7f1f rc.local is technically an optional file... 2001-10-02 00:26:07 +00:00
lukem
d15062c3c7 add ssh{,d}.conf, ssh_known_hosts{,2}, ssh_host_{[rd]sa_,}key{.pub,} 2001-10-02 00:16:36 +00:00
lukem
6d044e5a56 add a bunch of optional etc stuff from changelist:
Distfile bootparams bootptab ccd.conf daily.local defaultdomain
	dhclient-enter-hooks dhclient-exit-hooks dhclient.conf dhcpd.conf
	disktab ethers ftpd.conf ftpwelcome gateways hesiod.conf hosts.allow
	hosts.deny hosts.lpd ifaliases ipf.conf ipnat.conf ipsec.conf
	monthly.local mygate myname netgroup netgroup.db netstart.local
	ntp.conf passwd.conf rbootd.conf rtadvd.conf security.local
	ttyaction usermgmt.conf weekly.local
- add required stuff from changelist:
	etc/floppytab etc/netconfig etc/sysctl.conf
    	var/cron/tabs/root
	var/yp/Makefile
sort mail/ into its proper place
add some comments to remind us of things to look at in the future
2001-10-01 08:01:36 +00:00
veego
797097c7d1 Another place where primes was used. Change it to moduli. 2001-06-24 17:28:05 +00:00
kleink
6ad0537dc7 Look after /etc/primes. 2001-05-28 14:08:50 +00:00
wiz
ee09877887 Remove named.boot (only used by BIND 4.x). 2001-05-06 10:53:32 +00:00
atatat
7989fb3af8 The script called dhclient-script no longer lives in /etc. 2001-04-21 22:53:36 +00:00
itojun
2ee3479198 remove sendmail-IPv4only.cf from checklist. PR 12075. 2001-01-29 09:39:46 +00:00
perry
d837578f14 /etc/disklabels is obsolete -- remove it 2001-01-25 15:12:49 +00:00
enami
f35cb8ff6d Add an entry for optional dumpdates. 2000-09-05 05:48:54 +00:00
lukem
54049fb460 remove rc.wscons 2000-08-21 22:57:11 +00:00
itojun
b1253dc369 synchronize with /etc/mail content.
NetBSD PR 10836 from koji@jp.above.net.
2000-08-15 14:48:23 +00:00
lukem
78abee064b remove netstart 2000-05-13 08:07:01 +00:00
itojun
10e25f6012 make default sendmail.cf IPv4-only again.
roll sendmail-IPv6.cf, which does IPv4/v6.
2000-05-08 00:37:53 +00:00
itojun
6901565540 sync with sendmail 8.10.1 migration. /etc -> etc/mail
From: Andrew Brown <atatat@atatdot.net>
2000-05-04 01:07:40 +00:00
windsor
738b8e9986 oops, pppd doesn't require /etc/ppp/options now. 2000-03-10 20:21:57 +00:00
windsor
a59fb6d3bc forgot to add /etc/ppp/options to special(5) 2000-03-10 20:02:46 +00:00
windsor
47cab3ac18 create /etc/ppp when building install sets
add this and a lot of files not previously looked at in special(5)
2000-03-10 20:01:50 +00:00
frueauf
d14a108b4c we have no group root by default, set gname=wheel for include. 1999-06-23 17:12:15 +00:00
simonb
55d7fbaef8 Change /etc/mtree/special and /etc/sendmail.cf to mode 444, and
/usr/include to owner:group root:wheel, to match how these files
are shipped in a distribution.

From PR misc/6736 from Soren Jorvang.
1999-06-18 05:06:45 +00:00
abs
93466b768a /var/spool/ftp/pub (if present) is better 0775 thane 0777.
From Paul Goyette <paul@whooppee.com>
1999-03-05 05:54:23 +00:00
cjs
32a8cb8434 Make /var/spool/news owned by news:news. 1999-01-29 00:55:16 +00:00
bad
96cda5fe94 A basic /etc/rc.shutdown. Bails out if do_rcshutdown!=YES in /etc/rc.conf
(default is YES).  Kills xdm and waits for it to terminate if it was enabled
in rc.conf (based on a code snippet from Ignatios).
1998-10-29 20:24:56 +00:00
mycroft
4254ec31f8 Nuke /usr/src and /usr/pkgsrc from here. They are created when the source
tar files are unpacked, so having them here is pointless.
1998-10-28 09:23:23 +00:00
perry
6b9926770a get rid of secretmail residue -- suggested in pr-4568 from Carl Shapiro 1998-01-10 00:06:23 +00:00
perry
db7fdfc8c4 /usr/{src,obj,pkgsrc} -> root:wsrc, 0775 1998-01-03 06:00:33 +00:00