Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
None
-
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