From b1ad694262a605c78cffb84bb4d9d70f7a0460f3 Mon Sep 17 00:00:00 2001 From: millert <> Date: Wed, 30 Mar 2005 21:18:33 +0000 Subject: [PATCH] only set HOME if not already set; ok deraadt@ --- src/etc/root/dot.profile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/etc/root/dot.profile b/src/etc/root/dot.profile index 7a4b88ae..f0c3845e 100644 --- a/src/etc/root/dot.profile +++ b/src/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