summaryrefslogtreecommitdiffstats
path: root/share/skel/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1997-02-17 18:56:29 +0000
committerjoerg <joerg@FreeBSD.org>1997-02-17 18:56:29 +0000
commit140668552c7e3b3e00031a8716a095497d9e99fc (patch)
tree1fa2d09539e621ea5040fae97dd27b2030e70adc /share/skel/Makefile
parent440508194b97b9b12807c8f151f5338c7cb8142b (diff)
downloadFreeBSD-src-140668552c7e3b3e00031a8716a095497d9e99fc.zip
FreeBSD-src-140668552c7e3b3e00031a8716a095497d9e99fc.tar.gz
Various sanitizations:
. Don't clobber the TERM setting; it's supposed to be done by /etc/ttys already. . Comment out the Interviews stuff, 98 % of all users probably won't ever use it. . Install the files with better default permissions in the skeleton directory; pw(8) retains the permissions when creating a new acount, and installing them read-only is stupid, yet installing .rhosts world-readable is dangerous. 2.2 candidate
Diffstat (limited to 'share/skel/Makefile')
-rw-r--r--share/skel/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/share/skel/Makefile b/share/skel/Makefile
index 6790bb8..62d64ba 100644
--- a/share/skel/Makefile
+++ b/share/skel/Makefile
@@ -1,12 +1,18 @@
# @(#)Makefile 8.1 (Berkeley) 6/8/93
-FILES= dot.cshrc dot.login dot.mailrc dot.profile dot.rhosts
+FILES1= dot.cshrc dot.login dot.mailrc dot.profile
+FILES2= dot.rhosts
+MODE1= 0644
+MODE2= 0600
+
NOOBJ= noobj
all clean cleandir depend lint tags:
install:
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${FILES} \
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${MODE1} ${FILES1} \
+ ${DESTDIR}${BINDIR}/skel
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${MODE2} ${FILES2} \
${DESTDIR}${BINDIR}/skel
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud