diff options
author | joerg <joerg@FreeBSD.org> | 1997-02-17 18:56:29 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1997-02-17 18:56:29 +0000 |
commit | 140668552c7e3b3e00031a8716a095497d9e99fc (patch) | |
tree | 1fa2d09539e621ea5040fae97dd27b2030e70adc /share | |
parent | 440508194b97b9b12807c8f151f5338c7cb8142b (diff) | |
download | FreeBSD-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')
-rw-r--r-- | share/skel/Makefile | 10 | ||||
-rw-r--r-- | share/skel/dot.login | 6 | ||||
-rw-r--r-- | share/skel/dot.profile | 7 |
3 files changed, 16 insertions, 7 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> diff --git a/share/skel/dot.login b/share/skel/dot.login index 1e769b5..028fc9c 100644 --- a/share/skel/dot.login +++ b/share/skel/dot.login @@ -10,9 +10,9 @@ set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/bin /usr/X11R6/b setenv MANPATH "/usr/share/man:/usr/X11R6/man:/usr/local/man" # Interviews settings -setenv CPU "FREEBSD" -set path = ($path /usr/local/interviews/bin/$CPU) -setenv MANPATH "${MANPATH}:/usr/local/interviews/man" +#setenv CPU "FREEBSD" +#set path = ($path /usr/local/interviews/bin/$CPU) +#setenv MANPATH "${MANPATH}:/usr/local/interviews/man" # 8-bit locale (germany) #setenv LANG de_DE.ISO_8859-1 diff --git a/share/skel/dot.profile b/share/skel/dot.profile index 2aa2a7b..81e1883 100644 --- a/share/skel/dot.profile +++ b/share/skel/dot.profile @@ -8,8 +8,11 @@ # add /usr/games or /usr/X11R6/bin if you want PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:$HOME/bin; export PATH -# use cons25l1 for iso-* fonts -TERM=cons25; export TERM +# Setting TERM is normally done through /etc/ttys. Do only override +# if you're sure that you'll never log in via telnet or xterm or a +# serial line. +# Use cons25l1 for iso-* fonts +#TERM=cons25; export TERM BLOCKSIZE=K; export BLOCKSIZE EDITOR=vi; export EDITOR |