Is it possible in Unix/Linux to access environment variable from another sessions. For instance
export MYPASSWORD = 'MySecretPassword"
would it be possible by another user on the same machine to access it?
From my understanding, the password will be as environment variable as long as the session is up.
Is having the password in script (program) a more secure option (first the program reads the password from the encrypted password store) ?
When I do my vulnerability assessment training at my company I always tell people to never assume that everything else is working correctly. Most breaches are a result of a chain of vulnerabilities being exploited, not just one vulnerability.
– Swashbuckler Nov 20 '17 at 03:32