summaryrefslogtreecommitdiffstats
path: root/docker/docker_be/set_user.sh
diff options
context:
space:
mode:
authork.kedron <k.kedron@partner.samsung.com>2019-08-28 14:31:52 +0200
committerOfir Sonsino <ofir.sonsino@intl.att.com>2019-08-30 07:46:34 +0000
commit64636c2148414c1fa5da4b46a69570cdab003837 (patch)
treeada4dc163443427420217de5e716b532329ff255 /docker/docker_be/set_user.sh
parent5a4e1827b867a2de46c14f32449b37d0ff60d1fd (diff)
Fully HTTPS support in the dcaedt-be
Fully HTTPS support: -Updated the onap/base_sdc-jetty docker image version -Updated the chef script to properly used of the new docker image -Updated jvm configuration to support call to the SDC components using HTTPS. -Add support for change the http to https in the python script -Added buildRestClient method to create the CloseableHttpClient supporting the SSL connection -Checkstyle in the recipes -Update the docker_run.sh: - Change JAVA_OPTIONS - Used the secure connection to do health check Issue-ID: SDC-2477 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I7bf3d307e5765fa75a37ba0a4b41fd7fa87d28ab
Diffstat (limited to 'docker/docker_be/set_user.sh')
-rwxr-xr-xdocker/docker_be/set_user.sh20
1 files changed, 0 insertions, 20 deletions
diff --git a/docker/docker_be/set_user.sh b/docker/docker_be/set_user.sh
deleted file mode 100755
index 6233c07..0000000
--- a/docker/docker_be/set_user.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-# Create user
-
-USER="jetty"
-GROUP="jetty"
-UID="352070"
-GID="35953"
-
-# Remove user:
-deluser ${USER}
-
-delgroup ${GROUP}
-
-echo "${USER}:x:${UID}:${GID}::/home/${USER}:Linux User,,,:/home/jetty:/bin/false" >> /etc/passwd
-
-echo "${GROUP}:x:${GID}:${USER}" >> /etc/group
-
-echo "${USER}:!:17501:0:99999:7:::" >> /etc/shadow
-
-mkdir /home/${USER} && chown ${USER}:${GROUP} /home/${USER} \ No newline at end of file