mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-27 05:21:08 +01:00
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
9cb8091ff0
commit
5263d0898e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22855
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user