View Revisions: Issue #1100

Summary 0001100: bconsole crashes when a pam authentication aborts
Revision 2019-07-15 15:09 by franku
Steps To Reproduce I used this code from the bconsole-pam test in the Bareos systemtests (shown only snippets):

# etc/pam.d/bareos.in has to be adapted to the right system paths and renamed to etc/pam.d/bareos

export PAM_WRAPPER=1
export PAM_WRAPPER_SERVICE_DIR=etc/pam.d/bareos

/usr/lib64/libpam_wrapper.so ../../../core/src/dird/bareos-dir -f -c etc/bareos/ -d200

../../../core/src/console/bconsole -c etc/bareos/

bconsole then asks for a password. After pressing enter the console crashes.
Revision 2019-07-15 15:06 by franku
Steps To Reproduce I used part of this code from the bconsole-pam test in the Bareos systemtests:

# etc/pam.d/bareos.in has to be adapted to the right system paths and renamed to etc/pam.d/bareos

export PAM_WRAPPER=1
export PAM_WRAPPER_SERVICE_DIR=etc/pam.d/bareos

/usr/lib64/libpam_wrapper.so ../../../core/src/dird/bareos-dir -f -c etc/bareos/ -d200

../../../core/src/console/bconsole -c etc/bareos/

bconsole then asks for a password. After pressing enter the console crashes.
Revision 2019-07-15 15:01 by franku
Steps To Reproduce I used part of the code from the bconsole-pam test in the Bareos systemtests:

# etc/pam.d/bareos.in has to be adapted to the right system paths and renamed to etc/pam.d/bareos

export PAM_WRAPPER=1
export PAM_WRAPPER_SERVICE_DIR=etc/pam.d/bareos

/usr/lib64/libpam_wrapper.so ../../../core/src/dird/bareos-dir -f -c etc/bareos/ -d200

../../../core/src/console/bconsole -c etc/bareos/

bconsole then asks for a password. After pressing enter the console crashes.