customize your environment when running oem_setup_envEven when customers change the .profile from padmin user, those changes don't carry over when running the oem_setup_env command. Whenever we run the oem_setup_env command, we had to run manually run /.profile too.
A more elegant solution is to use a .kshrc file. Create a /home/padmin/.kshrc file.
Add whatever you want inside
OEMLOGNAME=`whoami` if [ $OEMLOGNAME = "root" ] then PS1='$OEMLOGNAME@$HOST:$PWD# ' else PS1='$OEMLOGNAME@$HOST:$PWD$ ' fi set -o vi alias ll="ls -la"
Then add at the end of the /home/padmin/.profile: