Solution to what? You haven't been clear about what you *expect* to have happen, and how that differs from what you're observing.
I'm hazarding a guess here...a very quick and dirty workaround (if I'm understanding your complaint correctly) would be to alias su="su -", then source your alias file at the bottom of your .profile.
|