File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ COPY [ "splunk/common-files/updateetc.sh", "/sbin/" ]
5555
5656# Setup users and groups
5757RUN groupadd -r -g ${GID} ${SPLUNK_GROUP} \
58- && useradd -r -m -u ${UID} -g ${GID} ${SPLUNK_USER} \
58+ && useradd -r -m -u ${UID} -g ${GID} -s /bin/bash ${SPLUNK_USER} \
5959 && chmod 755 /sbin/updateetc.sh
6060
6161COPY --from=package --chown=splunk:splunk /minimal /opt
@@ -98,7 +98,7 @@ COPY splunk-ansible ${SPLUNK_ANSIBLE_HOME}
9898RUN sed -i -e 's/%sudo\s\+ ALL=(ALL\( :ALL\)\? )\s\+ ALL/%sudo ALL=NOPASSWD:ALL\n ansible ALL=(splunk)NOPASSWD:ALL/g' /etc/sudoers \
9999 && echo 'Create the ansible user/group' \
100100 && groupadd -r ${ANSIBLE_GROUP} \
101- && useradd -r -m -g ${ANSIBLE_GROUP} ${ANSIBLE_USER} \
101+ && useradd -r -m -g ${ANSIBLE_GROUP} -s /bin/bash ${ANSIBLE_USER} \
102102 && usermod -aG sudo ${ANSIBLE_USER} \
103103 && usermod -aG ${ANSIBLE_GROUP} ${SPLUNK_USER} \
104104 && echo 'Container Artifact Directory is a place for all artifacts and logs that are generated by the provisioning process. The directory is owned by the user "ansible".' \
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ COPY [ "uf/common-files/updateetc.sh", "/sbin/"]
5151
5252# Setup users and groups
5353RUN groupadd -r -g ${GID} ${SPLUNK_GROUP} \
54- && useradd -r -m -u ${UID} -g ${GID} ${SPLUNK_USER} \
54+ && useradd -r -m -u ${UID} -g ${GID} -s /bin/bash ${SPLUNK_USER} \
5555 && chmod 755 /sbin/updateetc.sh
5656
5757# Copy files from package
@@ -91,7 +91,7 @@ USER root
9191RUN sed -i -e 's/%sudo\s\+ ALL=(ALL\( :ALL\)\? )\s\+ ALL/%sudo ALL=NOPASSWD:ALL\n ansible ALL=(splunk)NOPASSWD:ALL/g' /etc/sudoers \
9292 && echo 'Create the ansible user/group' \
9393 && groupadd -r ${ANSIBLE_GROUP} \
94- && useradd -r -m -g ${ANSIBLE_GROUP} ${ANSIBLE_USER} \
94+ && useradd -r -m -g ${ANSIBLE_GROUP} -s /bin/bash ${ANSIBLE_USER} \
9595 && usermod -aG sudo ${ANSIBLE_USER} \
9696 && usermod -aG ${ANSIBLE_GROUP} ${SPLUNK_USER} \
9797 && echo 'Container Artifact Directory is a place for all artifacts and logs that are generated by the provisioning process. The directory is owned by the user "ansible".' \
You can’t perform that action at this time.
0 commit comments