Uploaded image for project: 'Pegasus'
  1. Pegasus
  2. PM-998

Dashboard PAM callout does not work for non-root users

XMLWordPrintable

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major Major
    • None
    • Affects Version/s: None
    • Component/s: Pegasus Dashboard
    • None

      If you run the dashboard as a non-root user, and try to login as other users on the system, it will not work. The problem is that as non-root, PAM can only verify the user's own password - not other users. This is a good description of the problem.

      http://stackoverflow.com/questions/10910193/how-to-authenticate-username-password-using-pam-w-o-root-privileges

      Reproducible with our code:

      export PYTHONPATH=`pegasus-config --python`:`pegasus-config --python-externals`

      import pam
      pam.authenticate('someuser', 'somepasswd')

      Where someuser is not the same on as your are running Python as.

      Note that this is possibly dependent on the underlying user database. It will not work with a local user and shadow password.

            Assignee:
            gideon Gideon Juve (Inactive)
            Reporter:
            rynge Mats Rynge
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: