calling csession from .bash_profile
I am trying to emulate a behavior we used to have on an older Cache' system, namely the ability to call "csession cache" from inside of .bash_profile.
On the older system, passwordless users were allowed, now password is required.
The desired behavior is to have user log into linux and go directly into our cache application, which is character-based.
I have tried this technique, without success:
csession cache < myfile.txt. where myfile.txt contains two lines, username on first line, password on second line.
(user is define to have a startup namespace and routine)
This technique appears to add extraneous line ending characters, and cause my application to exit immediately.
I have tried various other things like changing line endings, etc. nothing seems to work.
Is this even possible with later versions of Cache'?