I am new to OpenSolaris, but been around linux for a small while now. I am using bash and I want to make PATH persistent with some custom directories.
I have tried all the usual places that have been suggested around the web, but cannot find ANYTHING that will amend my path statement. After each and every single edit, I log out and back into my account to test the path, but it remains unchanged. To test I open a terminal window and type [b]set | grep PATH[/b] and it is always returned thus: [b]MANPATH=/usr/gnu/share/man:/usr/share/man:/usr/X11/share/man PATH=/usr/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin[/b] I have created the files ~/.login and ~/.profile both with and without [b]#!/bin/bash[/b] headers I have tried customising the commented out path in /etc/profile, /etc/default/login and others (I have tried these commented out as they are and also uncommented) I have tried editing/creating PATH entries in /etc/X11/gdm/PreSession/Default and others, again with no success. I am at my wits end. I have come to the conclusion there is something setting the PATH at a final stage that is NOT inheriting the existing path, but I honestly have run out of ideas on where to look. Please help This message posted from opensolaris.org
