Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: pamtester run of pam_krb5_cc_move | |
on: [push] | |
jobs: | |
pamtester: | |
runs-on: ubuntu-latest | |
steps: | |
- run: sudo apt install pamtester gcc make libpam-dev libkrb5-dev krb5-user | |
- uses: actions/checkout@v4 | |
- run: make | |
- run: sudo make install INSTALLDIR=/usr/lib/x86_64-linux-gnu/security | |
- run: sudo cp pamtester/krb5_cc_move /etc/pam.d/krb5_cc_move | |
- run: cp pamtester/expired_kerberos_token /tmp/source | |
- run: sudo adduser testuser | |
- run: sudo chown testuser /tmp/source | |
- run: sudo pamtester -v krb5_cc_move testuser open_session | |
- run: journalctl -f | |
- run: klist -f /tmp/destination |