File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed
Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,16 @@ RUN \
2525 sudo \
2626 tcptraceroute \
2727 ttf-dejavu && \
28- echo "**** give abc sudo access to traceroute & tcptraceroute ****" && \
28+ echo "**** give abc sudo access to traceroute & tcptraceroute & tcpping ****" && \
2929 echo \
3030 "abc ALL=(ALL) NOPASSWD: /usr/bin/traceroute" >> \
3131 /etc/sudoers.d/traceroute && \
3232 echo \
3333 "abc ALL=(ALL) NOPASSWD: /usr/bin/tcptraceroute" >> \
3434 /etc/sudoers.d/tcptraceroute && \
35+ echo \
36+ "abc ALL=(ALL) NOPASSWD: /usr/bin/tcpping" >> \
37+ /etc/sudoers.d/tcpping && \
3538 echo "**** fix path to cropper.js ****" && \
3639 sed -i 's#src="/cropper/#/src="cropper/#' /etc/smokeping/basepage.html && \
3740 echo "**** install tcping script ****" && \
Original file line number Diff line number Diff line change @@ -25,13 +25,16 @@ RUN \
2525 sudo \
2626 tcptraceroute \
2727 ttf-dejavu && \
28- echo "**** give abc sudo access to traceroute & tcptraceroute ****" && \
28+ echo "**** give abc sudo access to traceroute & tcptraceroute & tcpping ****" && \
2929 echo \
3030 "abc ALL=(ALL) NOPASSWD: /usr/bin/traceroute" >> \
3131 /etc/sudoers.d/traceroute && \
3232 echo \
3333 "abc ALL=(ALL) NOPASSWD: /usr/bin/tcptraceroute" >> \
3434 /etc/sudoers.d/tcptraceroute && \
35+ echo \
36+ "abc ALL=(ALL) NOPASSWD: /usr/bin/tcpping" >> \
37+ /etc/sudoers.d/tcpping && \
3538 echo "**** fix path to cropper.js ****" && \
3639 sed -i 's#src="/cropper/#/src="cropper/#' /etc/smokeping/basepage.html && \
3740 echo "**** install tcping script ****" && \
Original file line number Diff line number Diff line change @@ -25,13 +25,16 @@ RUN \
2525 sudo \
2626 tcptraceroute \
2727 ttf-dejavu && \
28- echo "**** give abc sudo access to traceroute & tcptraceroute ****" && \
28+ echo "**** give abc sudo access to traceroute & tcptraceroute & tcpping ****" && \
2929 echo \
3030 "abc ALL=(ALL) NOPASSWD: /usr/bin/traceroute" >> \
3131 /etc/sudoers.d/traceroute && \
3232 echo \
3333 "abc ALL=(ALL) NOPASSWD: /usr/bin/tcptraceroute" >> \
3434 /etc/sudoers.d/tcptraceroute && \
35+ echo \
36+ "abc ALL=(ALL) NOPASSWD: /usr/bin/tcpping" >> \
37+ /etc/sudoers.d/tcpping && \
3538 echo "**** fix path to cropper.js ****" && \
3639 sed -i 's#src="/cropper/#/src="cropper/#' /etc/smokeping/basepage.html && \
3740 echo "**** install tcping script ****" && \
You can’t perform that action at this time.
0 commit comments