Open
Description
Dear all,
I'm trying to use the python-irodsclient using PAM authentication.
My test script is:
import os
from irods.session import iRODSSession
env_file = os.path.expanduser('~/.irods/irods_environment.json')
with iRODSSession(irods_env_file=env_file) as session:
session.collections.get(mypath).path
where in the irods_environment.json file I have set the "irods_passwords" parameter with my PAM password. I tryed also to set "password" keyword instead of "irods_password".
But, in any case, when I run the script I am not able to authenticate by the error:
FileNotFoundError: [Errno 2] No such file or directory: '~/.irods/.irodsA'
How can I solve this issue? How can I pass the PAM password without typing the "iinit" command?
Thanks in advance. Best regards. Giusy