BOOTCLASSPATH - needs to be tracked and preserved, or "am" calls wont be able to proceed.
LD_LIBRARY_PATH - needs to be preserved and appended to, not merely overwritten or set arbitrarily.
BASH_DIRTRIM - Needs to be set.
Note: HOME directory should not be set by bash as doing so will make it specific to a class of user. Same applies to the PATH variable. The root user will need a path that points to system directories as there is no need for a faked structure for root.
BOOTCLASSPATH - needs to be tracked and preserved, or "am" calls wont be able to proceed.
LD_LIBRARY_PATH - needs to be preserved and appended to, not merely overwritten or set arbitrarily.
BASH_DIRTRIM - Needs to be set.
Note: HOME directory should not be set by bash as doing so will make it specific to a class of user. Same applies to the PATH variable. The root user will need a path that points to system directories as there is no need for a faked structure for root.