Apr 17

Mac OS 10.8.5 bash root path

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

No Comments

Leave a comment