I use TelnetClient (Apache Commons Net 3.7.2 API) login to solaris10 but I found that ~/.bash_profile could not load in user's work environment.
I think that Initial configuration file is ~/.profile in solaris10. But I need to use bash shell in solaris10.
So what can I do let my TelnetClient load ~/.bash_profile to my user's work environment by automatic after login.