root logins should always start with a umask of 022
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sun, 22 Mar 1992 03:16:53 +0000 (19:16 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sun, 22 Mar 1992 03:16:53 +0000 (19:16 -0800)
SCCS-vsn: etc/root/dot.cshrc 5.3
SCCS-vsn: etc/root/dot.profile 5.2

usr/src/etc/root/dot.cshrc
usr/src/etc/root/dot.profile

index da028af..86638b7 100644 (file)
@@ -1,4 +1,3 @@
-alias mail Mail
 set history=1000
 set path=(/sbin /usr/sbin /bin /usr/bin /usr/local /usr/hosts /usr/contrib .)
 
 set history=1000
 set path=(/sbin /usr/sbin /bin /usr/bin /usr/local /usr/hosts /usr/contrib .)
 
@@ -22,3 +21,5 @@ alias tset    'set noglob histchars=""; eval `\tset -s \!*`; unset noglob histchars
 if ($?prompt) then
        set prompt="`hostname -s`# "
 endif
 if ($?prompt) then
        set prompt="`hostname -s`# "
 endif
+
+umask 022
index 47effab..77e4c63 100644 (file)
@@ -3,5 +3,6 @@ echo 'erase ^?, kill ^U, intr ^C'
 stty crt erase \7f kill \15 intr \ 3
 export PATH
 HOME=/root
 stty crt erase \7f kill \15 intr \ 3
 export PATH
 HOME=/root
-export HOME
-export TERM
+export HOME TERM
+
+umask 022