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
This commit is contained in:
parent
8a392df690
commit
a8f41eb09c
@ -1,12 +1,18 @@
|
|||||||
# @(#)Makefile 8.1 (Berkeley) 6/8/93
|
# @(#)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
|
NOOBJ= noobj
|
||||||
|
|
||||||
all clean cleandir depend lint tags:
|
all clean cleandir depend lint tags:
|
||||||
|
|
||||||
install:
|
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
|
${DESTDIR}${BINDIR}/skel
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -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"
|
setenv MANPATH "/usr/share/man:/usr/X11R6/man:/usr/local/man"
|
||||||
|
|
||||||
# Interviews settings
|
# Interviews settings
|
||||||
setenv CPU "FREEBSD"
|
#setenv CPU "FREEBSD"
|
||||||
set path = ($path /usr/local/interviews/bin/$CPU)
|
#set path = ($path /usr/local/interviews/bin/$CPU)
|
||||||
setenv MANPATH "${MANPATH}:/usr/local/interviews/man"
|
#setenv MANPATH "${MANPATH}:/usr/local/interviews/man"
|
||||||
|
|
||||||
# 8-bit locale (germany)
|
# 8-bit locale (germany)
|
||||||
#setenv LANG de_DE.ISO_8859-1
|
#setenv LANG de_DE.ISO_8859-1
|
||||||
|
@ -8,8 +8,11 @@
|
|||||||
# add /usr/games or /usr/X11R6/bin if you want
|
# add /usr/games or /usr/X11R6/bin if you want
|
||||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:$HOME/bin; export PATH
|
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:$HOME/bin; export PATH
|
||||||
|
|
||||||
# use cons25l1 for iso-* fonts
|
# Setting TERM is normally done through /etc/ttys. Do only override
|
||||||
TERM=cons25; export TERM
|
# 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
|
BLOCKSIZE=K; export BLOCKSIZE
|
||||||
EDITOR=vi; export EDITOR
|
EDITOR=vi; export EDITOR
|
||||||
|
Loading…
Reference in New Issue
Block a user