Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-4231

Document necessary permissions for the saslauthd socket path

    XMLWordPrintableJSON

Details

    • 0.25

    Description

      We need to mention that the saslauthd socket directory (default: /var/run/saslauthd) must be accessible by the mongod process.

      To be very specific, if I run the mongod process from the "mongod" user, then this will work:

      [ec2-user@lin-server ~]$ ls -l /var/run/ | grep sasl
      drwxr-xr-x. 2 root      root      4096 Oct 22 17:00 saslauthd

      But this will not and sasl auth attempts will fail:

      [ec2-user@lin-server ~]$ sudo chmod 700 /var/run/saslauthd/
      [ec2-user@lin-server ~]$ ls -l /var/run/ | grep sasl
      drwx------. 2 root      root      4096 Oct 22 17:00 saslauthd

      Probably should go as a note for step 2: Configure MongoDB Server

      Attachments

        Activity

          People

            ravind.kumar Ravind Kumar (Inactive)
            alex.komyagin@mongodb.com Alexander Komyagin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 5 weeks, 1 day ago