Also check /etc/profile for setting of umask.

From Chris Jones <cjones@rupert.oscs.montana.edu> in [misc/3763]
This commit is contained in:
lukem 1997-06-23 11:59:30 +00:00
parent de140ea979
commit d0b6172bfe
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: security,v 1.22 1997/06/23 01:49:15 lukem Exp $
# $NetBSD: security,v 1.23 1997/06/23 11:59:30 lukem Exp $
# from: @(#)security 8.1 (Berkeley) 6/9/93
#
@ -178,7 +178,7 @@ end-of-csh
cp /dev/null $OUTPUT
rhome=/root
umaskset=no
list="${rhome}/.profile"
list="/etc/profile ${rhome}/.profile"
for i in $list; do
if [ -f $i ] ; then
if egrep umask $i > /dev/null ; then