diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2005-03-30 21:18:34 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2005-03-30 21:18:34 +0000 |
commit | 311c3301307199ebc60809e733ef98f70fd029a7 (patch) | |
tree | da348192d2a0b5029deb8bda9ce79fc9ba430253 /etc/root | |
parent | 8d2413b74b65fd7f312c7696ceaca027271e1f31 (diff) |
only set HOME if not already set; ok deraadt@
Diffstat (limited to 'etc/root')
-rw-r--r-- | etc/root/dot.profile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/root/dot.profile b/etc/root/dot.profile index 7a4b88aeb7c..f0c3845e167 100644 --- a/etc/root/dot.profile +++ b/etc/root/dot.profile @@ -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 |