You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by xy...@apache.org on 2018/10/18 17:44:45 UTC
[20/50] [abbrv] hadoop git commit: HADOOP-15802. start-build-env.sh
creates an invalid /etc/sudoers.d/hadoop-build-${USER_ID} file entry.
Contributed by Jon Boone.
HADOOP-15802. start-build-env.sh creates an invalid /etc/sudoers.d/hadoop-build-${USER_ID} file entry. Contributed by Jon Boone.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/e3342a1a
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/e3342a1a
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/e3342a1a
Branch: refs/heads/HDDS-4
Commit: e3342a1abaff71823ebd952baf24a6143e711b99
Parents: 22f85f2
Author: Akira Ajisaka <aa...@apache.org>
Authored: Wed Oct 17 10:11:44 2018 +0900
Committer: Akira Ajisaka <aa...@apache.org>
Committed: Wed Oct 17 10:12:57 2018 +0900
----------------------------------------------------------------------
start-build-env.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/e3342a1a/start-build-env.sh
----------------------------------------------------------------------
diff --git a/start-build-env.sh b/start-build-env.sh
index c5581ca..bf6b411 100755
--- a/start-build-env.sh
+++ b/start-build-env.sh
@@ -61,7 +61,7 @@ docker build -t "hadoop-build-${USER_ID}" - <<UserSpecificDocker
FROM hadoop-build
RUN groupadd --non-unique -g ${GROUP_ID} ${USER_NAME}
RUN useradd -g ${GROUP_ID} -u ${USER_ID} -k /root -m ${USER_NAME}
-RUN echo "${USER_NAME}\tALL=NOPASSWD: ALL" > "/etc/sudoers.d/hadoop-build-${USER_ID}"
+RUN echo -e "${USER_NAME}\tALL=NOPASSWD: ALL" > "/etc/sudoers.d/hadoop-build-${USER_ID}"
ENV HOME /home/${USER_NAME}
UserSpecificDocker
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org