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

PAM: Add support for more native pam features and initial support for gdm #2

Closed
wants to merge 9 commits into from

Commits on Jul 28, 2023

  1. Configuration menu
    Copy the full SHA
    e149c97 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a579ba View commit details
    Browse the repository at this point in the history
  3. pam: Use native PAM communication when possible

    It's just better as it can be used both by terminal apps and other
    interactive UIs, without any assumption on the terminal in use, this is
    mostly due to the fact that a PAM client may be remote (as in SSH case)
    and so we can't assume that is always using a terminal.
    
    As per this, generalize the case trying to use the PAM APIs all the
    times, while using the terminal specific features if that's possible.
    
    So that ideally we can also share some of them with GDM ops.
    3v1n0 committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    b084544 View commit details
    Browse the repository at this point in the history
  4. pam: Move specific per-client operations in different functions

    Use a more object-oriented implementation, for what go allows to
    generalize the clients types.
    
    Basically for now we support two kinds of clients, that may behave
    differently:
     - Simple standard PAM client (as for remote access)
     - Terminal client (an interactive terminal as in sudo)
    
    This will allow to support graphical clients in an easier way.
    3v1n0 committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    a913a22 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2e6cf51 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ceaa2d4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5a85314 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3c2baa6 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6fc55df View commit details
    Browse the repository at this point in the history