set HOME, USER and LOGNAME in the env