[CentOS] $HOME variable not set from init script

Mon Oct 23 18:17:56 UTC 2006
Oliver Schulze L. <oliver at samera.com.py>

Hi James,
as recommended in the miemdefang list(and you), I added this line in 
mimedefang init file:
  export HOME=/path/to/home
in order to solve the problem

I was thinking that /sbin/runuser could unset all variables that was setup
by bash in /etc/init.d/mimedefang

Thanks
Oliver

James Olin Oden wrote:
> such that I could suggest a solution to your problem.  I will say that
> in the past I have made the script that is to be ran in that
> environment give HOME a default of some sort so if/when it was ran out
> of init it would still function properly (BTW, its likely you would
> see this in cron too).

-- 
Oliver Schulze L.
Get my e-mail after a captcha test in: http://tinymailto.com/oliver