Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text stacks not returning properly in some cases #11

Open
mihirmanna opened this issue Aug 9, 2023 · 0 comments
Open

Text stacks not returning properly in some cases #11

mihirmanna opened this issue Aug 9, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@mihirmanna
Copy link
Owner

Using this PAM config file (example_config):

# sshd: auth account password session
auth       optional       pam_krb5.so use_kcminit
auth       optional       pam_ntlm.so try_first_pass
auth       optional       pam_mount.so try_first_pass
auth       required       pam_opendirectory.so try_first_pass
account    required       pam_nologin.so
account    required       pam_sacl.so sacl_service=ssh
account    required       pam_opendirectory.so
password   required       pam_opendirectory.so
session    required       pam_launchd.so
session    optional       pam_mount.so

Running the following command:

% python pam_parser.py -s -t session example_config

Yields this:

[Exit stack]
---------------------

Even though we should be seeing both session modules in the stack.

@mihirmanna mihirmanna added the bug Something isn't working label Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant