Skip to content

Document how to store passwords in .irodsA file #596

Closed
@alanking

Description

@alanking

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions