Browse Source

only set HOME if not already set; ok deraadt@

OPENBSD_3_8
millert 19 years ago
parent
commit
b1ad694262
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/root/dot.profile

+ 2
- 2
src/etc/root/dot.profile View File

@ -1,10 +1,10 @@
# $OpenBSD: dot.profile,v 1.4 2004/05/10 16:04:07 peter Exp $
# $OpenBSD: dot.profile,v 1.5 2005/03/30 21:18:33 millert Exp $
#
# sh/ksh initialization
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin
export PATH
HOME=/root
: ${HOME='/root'}
export HOME
umask 022


Loading…
Cancel
Save