What is the best way of accomplishing this task?
I use OpenAFS to access disk space offered through my univeristy. I have a folder on my desktop to give me direct access.
However, in order to access the space, I must use the command "klog username" and follow with a password in terminal. This "authenticates," me or obtains a token.
I want to do this automatically on boot, or when I click the folder. What is the best way of doing this. I was going to save the command as a ".command," then run on startup, but two (2) problems.
1) it's not a single command, but after klog username, it must enter a password.
2) i don't want to save the password in plain text.
What is the most efficient way of accomplishing this task? I am sure there are many convoluted ways of doing this, but i want to minimize overhead.

I use OpenAFS to access disk space offered through my univeristy. I have a folder on my desktop to give me direct access.
However, in order to access the space, I must use the command "klog username" and follow with a password in terminal. This "authenticates," me or obtains a token.
I want to do this automatically on boot, or when I click the folder. What is the best way of doing this. I was going to save the command as a ".command," then run on startup, but two (2) problems.
1) it's not a single command, but after klog username, it must enter a password.
2) i don't want to save the password in plain text.
What is the most efficient way of accomplishing this task? I am sure there are many convoluted ways of doing this, but i want to minimize overhead.
