Browse Source

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@
OPENBSD_3_9
beck 18 years ago
parent
commit
0e8d43983d
1 changed files with 6 additions and 4 deletions
  1. +6
    -4
      src/etc/Makefile

+ 6
- 4
src/etc/Makefile View File

@ -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; \


Loading…
Cancel
Save