@@ -10,13 +10,13 @@ PYTHON=python3
1010# Run as ubuntu user with sudo; python_irodsclient must be installed (in either ~/.local or a virtualenv)
1111#
1212
13- PASSWD =test123
13+ ALICES_PAM_PASSWORD =test123
1414
1515setup ()
1616{
1717 export SKIP_IINIT_FOR_PASSWORD=1
18- setup_pam_login_for_alice $PASSWD
19- SKIP_IINIT_FOR_PASSWORD= " "
18+ setup_pam_login_for_alice " $ALICES_PAM_PASSWORD "
19+ unset SKIP_IINIT_FOR_PASSWORD
2020}
2121
2222teardown ()
@@ -42,7 +42,7 @@ print ('env_auth_scheme=%s' % ses.pool.account._original_authentication_scheme)
4242
4343 # First invocation. PRC will both authenticate with pam_password, and write the generated secrets to the auth file,
4444 OUTPUT=$( $PYTHON -c " import irods.client_configuration as cfg
45- cfg.legacy_auth.pam.password_for_auto_renew = '$PASSWD '
45+ cfg.legacy_auth.pam.password_for_auto_renew = '$ALICES_PAM_PASSWORD '
4646cfg.legacy_auth.pam.time_to_live_in_hours = 1
4747cfg.legacy_auth.pam.store_password_to_environment = True
4848$SCRIPT " )
@@ -54,7 +54,7 @@ $SCRIPT")
5454
5555 # Second invocation. PRC will use previously generated secrets from the auth file generated in the first invocation.
5656 OUTPUT=$( $PYTHON -c " import irods.client_configuration as cfg
57- #cfg.legacy_auth.pam.password_for_auto_renew = '$PASSWD '
57+ #cfg.legacy_auth.pam.password_for_auto_renew = '$ALICES_PAM_PASSWORD '
5858cfg.legacy_auth.pam.time_to_live_in_hours = 1
5959cfg.legacy_auth.pam.store_password_to_environment = True
6060$SCRIPT " )
0 commit comments