UMASK=022
umask "${UMASK}"

unset -f unalias
\unalias -a

unset -f command

# ensure "/usr/bin:/bin" in front of PATH
SYSPATH="$(command -p getconf PATH 2>/dev/null)"
if [ -z "${SYSPATH}" ];then
  SYSPATH="${BIN_ROOT-}:/usr/bin:/bin"
fi
PATH="${BIN_ROOT-}:${SYSPATH}:$PATH"
