Commit Graph

111 Commits

Author SHA1 Message Date
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
mikel 30f9c7850e make root owner of /usr/games/hide to match NetBSD.dist, fixes PR 4658 1997-12-18 06:10:31 +00:00
mrg c70a2f5e64 make /usr/games/hide mode 750, and remove bogus /var/games/save entry. 1997-11-19 08:29:59 +00:00
fair 245b25c2ef fix /var/mail permissions so that "dot locking" works. 1997-10-20 21:30:30 +00:00
mikel 3d302c58a2 make some more files optional; from Erik Bertelsen in PR 4048 1997-09-20 04:02:01 +00:00
mikel 2bf1150565 add some files from /etc: inetd.conf, newsyslog.conf, protocols, rc.subr,
rpc, and services (required); ld.so.conf and resolv.conf (optional).
remove pointless 'ignore' keyword from /dev/mem
1997-09-10 06:09:15 +00:00
perry 7bd6622ead make some items 'optional' -- per pr-3663 from Erik Bertelsen 1997-07-31 03:03:13 +00:00
mikel 08146f8adc add /etc/profile 1997-06-21 06:10:03 +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 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
mikel d511e1bc80 update to match reality; PR misc/1075.
also added new files in /etc.
1997-01-11 07:28:34 +00:00
lukem f355fafa1d AUTHPRIV syslog messages go to /var/log/authlog instead of /var/log/secure
(in line with other systems)
1996-12-04 05:10:42 +00:00
mikel 032c652e4f Update name of KVM database. 1996-11-11 06:38:00 +00:00
pk 119686fe4f A master.passwd has mode 0600 (PR#1405). 1996-05-08 21:30:18 +00:00
cgd a4ec873a91 /var/db shouldn't have had the 'ignore' flag set.
(from Masanobu Saitoh <saitoh@spa.is.uec.ac.jp>, pr 981)
1995-04-21 00:22:04 +00:00
jtc 84f3c8231d kvm_vmunix.db -> kvm_netbsd.db 1995-02-01 09:04:17 +00:00
cgd 0f38dd6c12 update to Lite 1994-06-19 03:23:13 +00:00