From 598be34717708fdc1ab96a8eb04d0594eaf9e22b Mon Sep 17 00:00:00 2001 From: Denix Date: Wed, 21 Jul 2021 12:13:12 +0200 Subject: [PATCH 1/3] added variable solr_user_shell --- defaults/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/defaults/main.yml b/defaults/main.yml index 7a442d3..497f981 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -12,6 +12,7 @@ solr_user: solr solr_group: solr solr_user_uid: 810 solr_group_gid: 810 +solr_user_shell: /bin/false # start on boot solr_service_enabled: true From 4361b41d1e931dd255caf3bab403134abb5726c9 Mon Sep 17 00:00:00 2001 From: Denix Date: Wed, 21 Jul 2021 12:18:23 +0200 Subject: [PATCH 2/3] added shell and home for user solr --- tasks/install.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/install.yml b/tasks/install.yml index 7932eb0..21c0ac0 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -21,7 +21,8 @@ user: name: "{{ solr_user }}" group: "{{ solr_group }}" - home: /bin/false + home: "{{ solr_home }}" + shell: "{{ solr_user_shell }}" uid: "{{ solr_user_uid }}" createhome: true system: true From bde4e3ccdd3fdef1dab62ad06e469d3087890ad0 Mon Sep 17 00:00:00 2001 From: Denix Date: Wed, 21 Jul 2021 12:33:15 +0200 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b340651..3c70373 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ All notable changes to this project will be documented in this file. ## [Unreleased](https://github.com/idealista/solr_role/tree/develop) +### Fixed +- *[#68] Wrong user creation* @denics ## [3.0.0](https://github.com/idealista/solr_role/tree/3.0.0) (2021-03-17) ### Added