From 0e8d43983d80d4e413021a875c14acea81b6b2d4 Mon Sep 17 00:00:00 2001 From: beck <> Date: Mon, 21 Nov 2005 16:13:44 +0000 Subject: [PATCH] Make the rc files in / be copies of the ones given by default to root in /root instead of hard links to them. This way multiuser only changes a user makes to the to the ones in /root do not screw them over for getting into single user easily when the have to. ok millert@ --- src/etc/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/etc/Makefile b/src/etc/Makefile index c74dc1ef..667a1f0a 100644 --- a/src/etc/Makefile +++ b/src/etc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.228 2005/11/17 21:28:05 jakob Exp $ +# $OpenBSD: Makefile,v 1.229 2005/11/21 16:13:44 beck Exp $ TZDIR= /usr/share/zoneinfo LOCALTIME= Canada/Mountain @@ -96,8 +96,10 @@ distribution-etc-root-var: distrib-dirs ${INSTALL} -c -o root -g wheel -m 644 dot.profile \ ${DESTDIR}/root/.profile; \ rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \ - ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \ - ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile + ${INSTALL} -c -o root -g wheel -m 644 dot.cshrc \ + ${DESTDIR}/.cshrc; \ + ${INSTALL} -c -o root -g wheel -m 644 dot.profile \ + ${DESTDIR}/.profile; cd skel; \ ${INSTALL} -c -o root -g wheel -m 644 dot.cshrc \ ${DESTDIR}/etc/skel/.cshrc; \ @@ -379,7 +381,7 @@ distrib: DHSIZE=1024 1536 2048 3072 4096 update-moduli: ( \ - echo '# $$OpenBSD: Makefile,v 1.228 2005/11/17 21:28:05 jakob Exp $$'; \ + echo '# $$OpenBSD: Makefile,v 1.229 2005/11/21 16:13:44 beck Exp $$'; \ echo '# Time Type Tests Tries Size Generator Modulus'; \ ( for i in ${DHSIZE}; do \ ssh-keygen -b $$i -G /dev/stdout; \