I didn't have /etc/profile so I copied /etc/default/etc/profile to
/etc/profile.
Aside from /etc/profile, I don't have any of the other files that
David mentions, but do have the profile.d directory. Here are the
permissions of all related files mentioned:
bash-4.1$ ls -l profile*
-rw-r----- 1 adrian None 6.9K Feb 18 11:14 profile
profile.d:
total 4.0K
-rw-r--r-- 1 adrian root 109 Jan 18 07:50 openssl.csh
-rw-r--r-- 1 adrian root 41 Jan 18 07:50 openssl.sh
-rwxr-xr-x 1 adrian root 74 Jan 29 19:13 xinit.csh*
-rwxr-xr-x 1 adrian root 44 Jan 29 19:13 xinit.sh*
I did see that both base-files postinstall scripts in
/etc/postinstall/ were not executable:
bash-4.1$ ls -l base*
-rw-rw---- 1 adrian root 1.2K Feb 12 13:13 base-files-mketc.sh.done
-rw-rw---- 1 adrian root 925 Feb 12 13:13 base-files-profile.sh.done
So I changed them to be:
bash-4.1$ ls -l base*
-rwxrwx--- 1 adrian root 1.2K Feb 12 13:13 base-files-mketc.sh.done*
-rwxrwx--- 1 adrian root 925 Feb 12 13:13 base-files-profile.sh.done*
I ran setup again without installing anything --> no change to terminal
I ran setup again selecting to reinstall hexedit --> no change to terminal
I really appreciate your guys' help! Can't wait to find out what the issue is...