I just installed elasticsearch 7.12.0 rpm package on AWS Linux AMI, when I try to access the config directory, it says "permission denied".
this is the directory detail.
$ ls -l
drwxr-s--- 3 root elasticsearch 245 Mar 27 21:42 elasticsearch
I need help accessing it via the same or some specific user which I think in this case is 'elasticsearch'.
this command asks for password which I don't know;
$ su elasticsearch