Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-73693

The Test button should not bother to check read access to /etc/shadow

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • pam-auth-plugin
    • None

      The pam-auth-plugin has a Test button. All this does is to check if /etc/shadow is readable.

      This is a useless test. The plugin does not depend on being able to read /etc/shadow. Furthermore, on a Linux system the shadow file by design can only be read (or written) by a very small set of programs. It is even dangerous to suggest that the jenkins user needs to have read access to that file.

      I suggest to completely get rid of the test button and the doTest function.

            jvz Matt Sicker
            keesbghs Kees
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: