Archive for April, 2015

Mac OS 10.8.5 bash root path

April 17th, 2015 | Category: Tech-y

In the case of logging in as a normal user and invoking “su – root” I found that Mac OS 10.8.5′s bash was ignoring .profile and .bash_profile; I was unable to change root’s $PATH by editing those files. What did work was editing /etc/paths. After exiting the root shell and entering again with “su – root” the new path was present.

No comments