Skip to content

Instantly share code, notes, and snippets.

@aceqbaceq
Created April 10, 2017 08:56
Show Gist options
  • Save aceqbaceq/bfa47d670f2dab4ffd623019608356b4 to your computer and use it in GitHub Desktop.
Save aceqbaceq/bfa47d670f2dab4ffd623019608356b4 to your computer and use it in GitHub Desktop.
~ # cat /etc/profile
#!/bin/sh
export TERMINFO=/usr/share/terminfo
PATH=/bin:/sbin
export PATH
umask 0022
export VI_USERNAME=$USER
export TMOUT=$(esxcfg-advcfg -q -g /UserVars/ESXiShellInteractiveTimeOut)
# source a local profile file that has the sticky bit set, so it is
# persisted into state.tgz
if [ -f /etc/profile.local ]; then
source /etc/profile.local
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment