summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1996-12-06 17:20:31 +0000
committermillert <millert@openbsd.org>1996-12-06 17:20:31 +0000
commitc532e508bbb3b50b39abb7f4040730b2d73a7cde (patch)
tree019c2968deaad5323c6df1c5a0ab8d307e781fda
parentskip lines in /etc/passwd that start with + or -. (diff)
downloadwireguard-openbsd-c532e508bbb3b50b39abb7f4040730b2d73a7cde.tar.xz
wireguard-openbsd-c532e508bbb3b50b39abb7f4040730b2d73a7cde.zip
set umask to 022 -- make /etc/security stop bitching about this...
-rw-r--r--etc/root/dot.cshrc1
-rw-r--r--etc/root/dot.profile1
2 files changed, 2 insertions, 0 deletions
diff --git a/etc/root/dot.cshrc b/etc/root/dot.cshrc
index a98edf70058..ec2de3d1538 100644
--- a/etc/root/dot.cshrc
+++ b/etc/root/dot.cshrc
@@ -1,3 +1,4 @@
+umask 022
alias mail Mail
set history=1000
set path=(/sbin /usr/sbin /bin /usr/bin)
diff --git a/etc/root/dot.profile b/etc/root/dot.profile
index 0482fb0efd2..878c321a769 100644
--- a/etc/root/dot.profile
+++ b/etc/root/dot.profile
@@ -2,6 +2,7 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin
export PATH
HOME=/root
export HOME
+umask 022
if [ -x /usr/bin/tset ]; then
eval `/usr/bin/tset -sQ \?$TERM`