You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mimic regular services and their PAM stacks by replacing pam_unix with pam_matrix and running tests with libpamtest. This needs to be done in a temporary container, because we modify files such as /etc/pam.d/common-auth and affect whole authentication of the system.
Test cases
Services (at least the following):
login
sshd
su
lightdm
cron
Service
Modifications
Group
Account
Password
Expected result
login
With pam_unix & pam_securetty disabled
auth
root
✗
Denied by pam_unix
login
pam_unix replaced with pam_matrix
auth
root
✓
Denied by pam_securetty
login
With pam_matrix & pam_securetty disabled
auth
root
✓
Allowed
The text was updated successfully, but these errors were encountered:
https://cwrap.org/pam_wrapper.html
Relates to #17
How
Mimic regular services and their PAM stacks by replacing
pam_unix
withpam_matrix
and running tests withlibpamtest
. This needs to be done in a temporary container, because we modify files such as/etc/pam.d/common-auth
and affect whole authentication of the system.Test cases
Services (at least the following):
pam_unix
&pam_securetty
disabledpam_unix
pam_unix
replaced withpam_matrix
pam_securetty
pam_matrix
&pam_securetty
disabledThe text was updated successfully, but these errors were encountered: