It seems this is possible:
|
# Store new password in .irodsA if requested. |
|
if self.account._auth_file and cfg.legacy_auth.pam.store_password_to_environment: |
|
with open(self.account._auth_file,'w') as f: |
|
f.write(obf.encode(auth_out.result_)) |
|
logger.debug('new PAM pw write succeeded') |
However, this is not documented anywhere, and it's not clear (at least to me) whether this option is available outside of PAM authentication (this code is under _pam_login) or how to use it. Let's add documentation around how this works and how to use it.
It seems this is possible:
python-irodsclient/irods/connection.py
Lines 532 to 536 in 067e63d
However, this is not documented anywhere, and it's not clear (at least to me) whether this option is available outside of PAM authentication (this code is under
_pam_login) or how to use it. Let's add documentation around how this works and how to use it.