NetBSD/etc
martin 65696e46ef Pull up following revision(s) (requested by riastradh in ticket #1604):
etc/ssh/Makefile: revision 1.4
	usr.bin/mail/Makefile: revision 1.41
	external/ibm-public/postfix/etc/Makefile: revision 1.2
	etc/bluetooth/Makefile: revision 1.6
	crypto/external/bsd/openssh/bin/Makefile: revision 1.5
	etc/root/Makefile: revision 1.5
	etc/iscsi/Makefile: revision 1.4

/root: Install .cshrc and .profile links with the same mode.

Previously we would:

1. Install /root/.cshrc and /root/.profile with mode FILESMODE=644 as
   requested in src/etc/root/Makefile and as echoed in
   /etc/mtree/special.
2. Create hard links at /.cshrc and /.profile through CONFIGLINKS.
3. Because LINKSMODE was unset and defaults to NOBINMODE=444, change
   the mode to 444.

This scenario is confusing, and mtree objects to it, which is bad for
warning fatigue in a security-relevant mechanism.  (There are also
several other files mtree objects to out of the box -- we should fix
those too.)

With this change we install the links with the same mode as the
original files, in agreement with the mtree.  The files, .cshrc and
.profile, are intended to be editable configuration files, so 644
makes sense while 444 makes no sense and gets in the way of editors
like vi.

Discussed on tech-userlevel:
https://mail-index.netbsd.org/tech-userlevel/2022/08/29/msg013498.html

etc: Fix permissions of various editable configuration files.

This way they match the mtree and make sense and don't cause editors
to ask to override read-only files when editing them.

Exception: Not sure /etc/bluetooth/protocols makes as much sense to
edit, but the mtree says 644, so if you want to change it, make sure
to change it in both places -- Makefile and mtree.

/etc/ssh: Install ssh_known_hosts with mode 644.
Makes it agree with the mtree and more convenient for admin to edit.
2023-02-22 19:30:50 +00:00
..
autofs Merge autofs support from: Tomohiro Kusumi 2018-01-09 03:31:12 +00:00
bluetooth Pull up following revision(s) (requested by riastradh in ticket #1604): 2023-02-22 19:30:50 +00:00
defaults Pull up following revision(s) (requested by kim in ticket #1080): 2020-09-13 12:11:07 +00:00
etc.aarch64 Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.acorn32 Remove ISDN from the kernel. It has remained unmaintained for a long time, 2018-09-23 09:20:57 +00:00
etc.algor Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.alpha Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.amd64 Pull up following revision(s) (requested by nia in ticket #1046): 2020-08-13 14:40:44 +00:00
etc.amiga Pull up following revision(s) (requested by is in ticket #801): 2020-03-23 10:03:28 +00:00
etc.amigappc Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.arc Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.atari Remove ISDN from the kernel. It has remained unmaintained for a long time, 2018-09-23 09:20:57 +00:00
etc.bebox Remove the satlink driver. It was disabled everywhere, had no man page and 2019-01-27 08:53:28 +00:00
etc.cats Remove ISDN from the kernel. It has remained unmaintained for a long time, 2018-09-23 09:20:57 +00:00
etc.cesfic Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.cobalt Pull up following revision(s) (requested by tsutsui in ticket #962): 2020-06-20 16:19:43 +00:00
etc.dreamcast Add a synthesized pc beeper and keyboard bell for platforms with an audio 2016-12-08 11:31:08 +00:00
etc.emips Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.epoc32 Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.evbarm Pull up following revision(s) (requested by jmcneill in ticket #491): 2019-11-27 13:46:44 +00:00
etc.evbcf Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.evbmips Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.evbppc Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.evbsh3 Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.ews4800mips Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.hp300 Pull up following revision(s) (requested by tsutsui in ticket #1323): 2021-07-14 18:04:04 +00:00
etc.hpcarm Add a synthesized pc beeper and keyboard bell for platforms with an audio 2016-12-08 11:31:08 +00:00
etc.hpcmips Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.hpcsh
etc.hppa Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.i386 Pull up following revision(s) (requested by nia in ticket #1046): 2020-08-13 14:40:44 +00:00
etc.ia64 Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.ibmnws
etc.iyonix Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.landisk Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.luna68k Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.mac68k Pull up following revision(s) (requested by rin in ticket #1269): 2021-05-08 10:27:47 +00:00
etc.macppc Build the UP & SMP kernels for G5s to ease testing. 2019-02-19 23:46:33 +00:00
etc.mipsco Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.mmeye Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.mvme68k Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.mvmeppc Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.netwinder Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.news68k Pull up following revision(s) (requested by tsutsui in ticket #1048): 2020-08-13 14:53:44 +00:00
etc.newsmips Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.next68k Pull up following revision(s) (requested by tsutsui in ticket #1586): 2023-02-06 16:54:53 +00:00
etc.ofppc Remove the satlink driver. It was disabled everywhere, had no man page and 2019-01-27 08:53:28 +00:00
etc.or1k Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.playstation2 Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.pmax Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.prep Remove ISDN from the kernel. It has remained unmaintained for a long time, 2018-09-23 09:20:57 +00:00
etc.riscv Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.rs6000 Remove ISDN from the kernel. It has remained unmaintained for a long time, 2018-09-23 09:20:57 +00:00
etc.sandpoint Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.sbmips Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.sgimips Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.shark Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.sparc Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.sparc64 Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.sun2
etc.sun3
etc.vax Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
etc.x68k Remove ISDN from the kernel. It has remained unmaintained for a long time, 2018-09-23 09:20:57 +00:00
etc.zaurus Pull up following revision(s) (requested by abs in ticket #384): 2019-10-28 18:38:31 +00:00
iscsi Pull up following revision(s) (requested by riastradh in ticket #1604): 2023-02-22 19:30:50 +00:00
mtree Pull up following revision(s) (requested by kim in ticket #974): 2020-06-30 18:22:48 +00:00
namedb Pull up following revision(s) (requested by sevan in ticket #296): 2019-10-10 17:27:23 +00:00
pam.d Install racoon pam file. 2017-06-18 20:23:21 +00:00
powerd Remove the stopping and starting of various network scripts on 2017-07-13 13:50:48 +00:00
rc.d Backout previous pullup from ticket #1377: 2021-11-26 18:04:09 +00:00
root Pull up following revision(s) (requested by riastradh in ticket #1604): 2023-02-22 19:30:50 +00:00
skel /usr/X11R6 has been empty on most NetBSD installations since 2008, 2018-03-01 06:12:09 +00:00
ssh Pull up following revision(s) (requested by riastradh in ticket #1604): 2023-02-22 19:30:50 +00:00
MAKEDEV.awk Pull up following revision(s) (requested by tsutsui in ticket #962): 2020-06-20 16:19:43 +00:00
MAKEDEV.local
MAKEDEV.tmpl Pull up following revision(s) (requested by riastradh in ticket #783): 2020-03-19 19:08:31 +00:00
Makefile Pull up following revision(s) (requested by maya in ticket #435): 2019-11-17 07:04:33 +00:00
Makefile.params Pull up following revision(s) (requested by martin in ticket #462): 2019-11-22 15:26:28 +00:00
aliases
auto_master Merge autofs support from: Tomohiro Kusumi 2018-01-09 03:31:12 +00:00
bootptab
changelist
crontab Pull up following revision(s) (requested by kim in ticket #812): 2020-04-02 19:11:36 +00:00
csh.cshrc
csh.login
csh.logout
daily Convert uses of test (ie: '[') to use only POSIX specified forms, 2018-09-23 23:16:34 +00:00
daily.conf
disktab
dm.conf
envsys.conf Update contact info for changes to this file. 2017-10-21 19:43:53 +00:00
floppytab
ftpchroot
ftpusers
gettytab
gpio.conf
group Pull up following revision(s) (requested by maxv in ticket #405): 2019-11-10 12:58:29 +00:00
hosts
hosts.equiv
hosts.lpd
inetd.conf mention that -a valid does not work, requested by felix. 2016-10-25 17:16:34 +00:00
locate.conf
login.conf /usr/X11R6 has been empty on most NetBSD installations since 2008, 2018-03-01 06:12:09 +00:00
mailer.conf
man.conf /usr/X11R6 has been empty on most NetBSD installations since 2008, 2018-03-01 06:12:09 +00:00
master.passwd fix nsd home dir. 2017-01-09 14:26:58 +00:00
minfree
mkttys
monthly
monthly.conf
motd.beta http -> https 2019-05-28 18:25:23 +00:00
motd.current http -> https 2019-05-28 18:25:23 +00:00
motd.default
motd.rc http -> https 2019-05-28 18:25:23 +00:00
motd.stable http -> https 2019-05-28 18:25:23 +00:00
mrouted.conf
named.conf Pull up the following revisions(s) (requested by christos in ticket #806): 2020-03-27 08:43:42 +00:00
netconfig
networks
newsyslog.conf Specify PID file to properly rotate npf log file. 2019-05-16 20:12:35 +00:00
nsswitch.conf
ntp.conf Pull up following revision(s) (requested by kim in ticket #1102): 2020-10-08 16:53:57 +00:00
passwd.conf
phones
pkgpath.conf
printcap
profile
protocols regen 2019-01-03 17:30:06 +00:00
rbootd.conf
rc set cloexec to the rc postprocessor fd (rudolf in tech-userlevel) 2017-03-20 16:02:48 +00:00
rc.conf
rc.local
rc.shutdown
rc.subr rc.subr can be used in install images (from sysinst) so must use only 2018-09-23 23:02:39 +00:00
remote
rpc
security Fix an obvious botch in the previous rev, found by martin@ 2018-10-04 11:50:34 +00:00
security.conf
services Pull up following revision(s) (requested by sevan in ticket #295): 2019-10-10 17:25:47 +00:00
shells
shrc
sysctl.conf
syslog.conf
weekly Convert to POSIX specified usage of test (even though it would probably 2018-09-23 23:12:21 +00:00
weekly.conf
wpa_supplicant.conf Add a default wpa_supplicant.conf which allows wpa_cli(8) to configure 2019-01-12 16:51:54 +00:00
wscons.conf Pull up following revision(s) (requested by nia in ticket #1002): 2020-07-13 14:22:47 +00:00