I've just installed Elasticsearch 1.4.2 using the RHEL RPM. I noticed that
it didn't create a new user "elasticsearch" nor did it create a new group
"elasticsearch". Nor are any of the directories I'd expect the default
user to be able to read and write owned by anything other than root.
This doesn't seem correct, at least from my perspective. Won't the service
not run correctly without having the default user and group already
existing? Do I have to manually create the elasticsearch user and group?
What directories should I have that user/group own? Are they're other
changes that I have to manually make?
I just installed ES 1.4.2 from repos on CentOS and it created both user and
group;
[root@vagrant-centos65 ~]# getent passwd|grep elasticsearch
elasticsearch:x:497:497:elasticsearch
user:/usr/share/elasticsearch:/sbin/nologin
It also set the directories it needs to write to to the correct permissions;
[root@vagrant-centos65 ~]# ll -d /var/lib/elasticsearch
drwxr-xr-x 2 elasticsearch elasticsearch 4096 Dec 16 14:12
/var/lib/elasticsearch
The config files however are owned by root, which is standard.
I've just installed Elasticsearch 1.4.2 using the RHEL RPM. I noticed
that it didn't create a new user "elasticsearch" nor did it create a new
group "elasticsearch". Nor are any of the directories I'd expect the
default user to be able to read and write owned by anything other than root.
This doesn't seem correct, at least from my perspective. Won't the
service not run correctly without having the default user and group already
existing? Do I have to manually create the elasticsearch user and group?
What directories should I have that user/group own? Are they're other
changes that I have to manually make?
I've just installed Elasticsearch 1.4.2 using the RHEL RPM. I noticed
that it didn't create a new user "elasticsearch" nor did it create a new
group "elasticsearch". Nor are any of the directories I'd expect the
default user to be able to read and write owned by anything other than root.
This doesn't seem correct, at least from my perspective. Won't the
service not run correctly without having the default user and group already
existing? Do I have to manually create the elasticsearch user and group?
What directories should I have that user/group own? Are they're other
changes that I have to manually make?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.