I am planning to have a program that will need to connect to a server. I'd like to be able to send a encrypted password to my server. The thing is, I need my decrypting script to be executed (everytime I need to login, not only at boot) before login in.
Is that possible?
/etc/profile(for all users) or~./profileif you're logging in at the console. There are many variations though. Are you logging in to a GUI or at the console? Do you want to script to execute if you connect remotely to your box (e.g. viassh)? If at the console, you probably want to check outman bashand read the INVOCATION section. – bobstro Jul 26 '15 at 20:33