Question
· Jan 10, 2022

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'?

$ZV: Cache for UNIX (Red Hat Enterprise Linux for x86-64) 2017.2.2 (Build 867_4) Fri Apr 24 2020 17:42:00 EDT
Discussion (2)0
Log in or sign up to continue