[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

sudo doesn't set HOME



Hi,

I was just trying to use pbuilder on a sarge system and during creation of
the baze.tgz (sudo pbuilder create) it complained about missing
.pbuilderrc file, despite the fact that I have one in my home directory.
After some investigation I found that sudo doesn't set the HOME variable.
Is this a correct behaviour? BTW, I fixed my problem by adding the line:

Defaults env_reset

to /etc/sudoers.

Thanks,
  Tad



Reply to: